aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnju T <[email protected]>2016-02-20 10:32:46 +0530
committerMichael Ellerman <[email protected]>2016-04-21 23:32:59 +1000
commited4a4ef85cf5b75231079501030db28dd59f920a (patch)
tree52291203962d97f8688bde489852a04971dce2b3 /tools/perf/scripts/python
parent1bfadabfebc671a6af0f5008b524b681ce757dec (diff)
powerpc/perf: Add support for sampling interrupt register state
The perf infrastructure uses a bit mask to find out valid registers to display. Define a register mask for supported registers defined in uapi/asm/perf_regs.h. The bit positions also correspond to register IDs which is used by perf infrastructure to fetch the register values. CONFIG_HAVE_PERF_REGS enables sampling of the interrupted machine state. Signed-off-by: Anju T <[email protected]> [mpe: Add license, use CONFIG_PPC64, fix 32-bit build] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions