diff options
author | Anju T Sudhakar <[email protected]> | 2020-08-07 06:11:18 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-08-07 09:27:03 -0300 |
commit | 33583e6950bf763d7b2be050f5df8414980459c4 (patch) | |
tree | f3afeef6f97727ebf1d1eb4bed75aea9c3bbe4e1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d01541d006c43abf49a944cdc2a01c2bff047314 (diff) |
perf tools powerpc: Add support for extended register capability
Add extended regs to sample_reg_mask in the tool side to use with `-I?`
option. Perf tools side uses extended mask to display the platform
supported register names (with -I? option) to the user and also send
this mask to the kernel to capture the extended registers in each
sample. Hence decide the mask value based on the processor version.
Currently definitions for `mfspr`, `SPRN_PVR` are part of
`arch/powerpc/util/header.c`. Move this to a header file so that these
definitions can be re-used in other source files as well.
Signed-off-by: Anju T Sudhakar <[email protected]>
Reviewed-by: Kajol Jain <[email protected]>
Reviewed-by: Madhavan Srinivasan <[email protected]>
Reviewed--by: Ravi Bangoria <[email protected]>
Tested-by: Ravi Bangoria <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Michael Neuling <[email protected]> <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Cc: [email protected]
[Decide extended mask at run time based on platform]
Signed-off-by: Athira Jajeev <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions