[V3 0/4] powerpc/perf: Add instruction and data address registers to extended regs
Michael Ellerman
patch-notifications at ellerman.id.au
Sun Oct 17 23:32:02 AEDT 2021
On Thu, 7 Oct 2021 12:25:01 +0530, Athira Rajeev wrote:
> Patch set adds PMU registers namely Sampled Instruction Address Register
> (SIAR) and Sampled Data Address Register (SDAR) as part of extended regs
> in PowerPC. These registers provides the instruction/data address and
> adding these to extended regs helps in debug purposes.
>
> Patch 1/4 and 2/4 refactors the existing macro definition of
> PERF_REG_PMU_MASK_300 and PERF_REG_PMU_MASK_31 to make it more
> readable.
> Patch 3/4 adds SIAR and SDAR as part of the extended regs mask.
> Patch 4/4 includes perf tools side changes to add the SPRs to
> sample_reg_mask to use with -I? option.
>
> [...]
Patches 1 and 3 applied to powerpc/next.
[1/4] powerpc/perf: Refactor the code definition of perf reg extended mask
https://git.kernel.org/powerpc/c/02b182e67482d9167a13a0ff19b55037b70b21ad
[3/4] powerpc/perf: Expose instruction and data address registers as part of extended regs
https://git.kernel.org/powerpc/c/29908bbf7b8960d261dfdd428bbaa656275e80f3
cheers
More information about the Linuxppc-dev
mailing list