]> Git Repo - linux.git/commit
perf powerpc: Support exposing Performance Monitor Counter SPRs as part of extended...
authorAthira Rajeev <[email protected]>
Wed, 3 Feb 2021 06:55:37 +0000 (01:55 -0500)
committerArnaldo Carvalho de Melo <[email protected]>
Mon, 8 Feb 2021 19:25:00 +0000 (16:25 -0300)
commit068aeea3773a6f4c90303fdbb9318dd56aae8ac7
tree4bd92b84b828d5a668928c9040574c6adf3bbe67
parent900547dd0fd273f03fd10cf5f48824056ddb4fdb
perf powerpc: Support exposing Performance Monitor Counter SPRs as part of extended regs

To enable presenting of Performance Monitor Counter Registers (PMC1 to
PMC6) as part of extended regsiters, this patch adds these to
sample_reg_mask in the tool side (to use with -I? option).

Simplified the PERF_REG_PMU_MASK_300/31 definition. Excluded the
unsupported SPRs (MMCR3, SIER2, SIER3) from extended mask value for
CPU_FTR_ARCH_300.

Signed-off-by: Athira Jajeev <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: [email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/arch/powerpc/include/uapi/asm/perf_regs.h
tools/perf/arch/powerpc/include/perf_regs.h
tools/perf/arch/powerpc/util/perf_regs.c
This page took 0.061967 seconds and 4 git commands to generate.