summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAshok Kumar <ashoks@broadcom.com>2016-04-21 15:58:44 +0300
committerWill Deacon <will.deacon@arm.com>2016-04-25 16:11:10 +0300
commit4b1a9e6934ec6e38138c66c2f73cf6f3695a9c6c (patch)
tree06a250a1e8a492379b105ce5b94d7b2c6140790e /tools/perf/scripts/python/stackcollapse.py
parentbf2d4782e7500b6e3e6f606b17b596751bc14013 (diff)
downloadlinux-4b1a9e6934ec6e38138c66c2f73cf6f3695a9c6c.tar.xz
arm64/perf: Filter common events based on PMCEIDn_EL0
The complete common architectural and micro-architectural event number structure is filtered based on PMCEIDn_EL0 and exposed to /sys using is_visibile function pointer in events attribute_group. To filter the events in is_visible function, pmceid based bitmap is stored in arm_pmu structure and the id field from perf_pmu_events_attr is used to check against the bitmap. The function which derives event bitmap from PMCEIDn_EL0 is executed in the cpus, which has the pmu being initialized, for heterogeneous pmu support. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Ashok Kumar <ashoks@broadcom.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions