commit | bd4c9e853050eeb33adaaec0afc26d08bd432836 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Mar 18 11:15:36 2021 -0700 |
committer | Yabin Cui <yabinc@google.com> | Thu Apr 08 16:03:59 2021 -0700 |
tree | 3f78eb50bda039231922a5307c8b76d46ebfb372 | |
parent | 49806a1067234dad8446a02997f2f71b4a488736 [diff] |
Add permissions in profcollectd to parse kernel etm data. To parse etm data for kernel and kernel modules, add below permissions to profcollectd: 1. Get kernel start address and module addresses from /proc/kallsyms and /proc/modules. 2. Get kernel build id from /sys/kernel/notes. 3. Read kernel module files in vendor dir. Bug: 166559473 Test: run profcollectd. Change-Id: I2e0b346379271fadc20e720722f7c9a687335ee2