aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorKajol Jain <[email protected]>2022-01-27 12:49:56 +0530
committerMichael Ellerman <[email protected]>2022-03-01 23:38:13 +1100
commit5f6c3061af7ca3b0f9f8a20ec7a445671f7e6b5a (patch)
tree851e41e79987f187467639c831398ff9de412935 /tools/perf/scripts/python/bin/stackcollapse-report
parent6523dce86222451e5ca2df8a46597a217084bfdf (diff)
selftests/powerpc/pmu: Add utility functions to post process the mmap buffer
Add couple of basic utility functions to post process the mmap buffer. It includes function to read the total number of samples present in the mmap buffer and function to get the address of the first sample. Add function "get_intr_regs" which will return pointer to interrupt registers present in the sample, incase sample type PERF_SAMPLE_REGS_INTR is set. Add functions "get_reg_value" which can be used to read any interrupt register value from a given sample. Signed-off-by: Kajol Jain <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions