summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorKajol Jain <kjain@linux.ibm.com>2022-06-10 19:10:39 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2022-06-28 23:56:37 +1000
commit42e0576eec75479fa7709c41e5c3b9ec556b8f4d (patch)
treed881f73fba854197c84ce60565482c2010efccdf /tools/perf/scripts/python/bin/stackcollapse-report
parent890005a7d98f7452cfe86dcfb2aeeb7df01132ce (diff)
downloadlinux-42e0576eec75479fa7709c41e5c3b9ec556b8f4d.tar.gz
linux-42e0576eec75479fa7709c41e5c3b9ec556b8f4d.zip
selftests/powerpc/pmu: Add mask/shift bits for extracting threshold compare field
In power10, threshold compare field is not part of the raw event code and provided via event attribute config1. Hence add the mask and shift bits based on event attribute config1, to extract the threshold compare value for power10 Also add a new function called get_thresh_cmp_val to compute and return the threshold compare field for a given platform, since incase of power10, threshold compare value provided is decimal. Signed-off-by: Kajol Jain <kjain@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220610134113.62991-2-atrajeev@linux.vnet.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions