diff options
| author | Nicholas Piggin <npiggin@gmail.com> | 2021-07-21 00:15:04 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-04 10:53:39 +1000 |
| commit | cf9c615cde49fb5d2480549c8c955a0a387798d3 (patch) | |
| tree | 896c680a6fad98416d7ba3e0f291d4dac96e6e21 /tools/perf/scripts/python | |
| parent | powerpc/smp: Use existing L2 cache_map cpumask to find L3 cache siblings (diff) | |
| download | linux-cf9c615cde49fb5d2480549c8c955a0a387798d3.tar.gz linux-cf9c615cde49fb5d2480549c8c955a0a387798d3.zip | |
powerpc/64s/perf: Always use SIAR for kernel interrupts
If an interrupt is taken in kernel mode, always use SIAR for it rather than
looking at regs_sipr. This prevents samples piling up around interrupt
enable (hard enable or interrupt replay via soft enable) in PMUs / modes
where the PR sample indication is not in synch with SIAR.
This results in better sampling of interrupt entry and exit in particular.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210720141504.420110-1-npiggin@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
