aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAthira Rajeev <[email protected]>2020-10-21 14:23:27 +0530
committerMichael Ellerman <[email protected]>2020-11-19 16:56:56 +1100
commitd9f7088dd6d8859f385565ca8acd2681e1f700f9 (patch)
tree76ad4028a093b758d88b79748d5487188df1fac5 /tools/perf/scripts/python/export-to-sqlite.py
parentfdf13a657508a12cd21a4d7b988cb260cb8fbd38 (diff)
powerpc/perf: Use the address from SIAR register to set cpumode flags
While setting the processor mode for any sample, perf_get_misc_flags() expects the privilege level to differentiate the userspace and kernel address. On power10 DD1, there is an issue that causes MSR_HV MSR_PR bits of Sampled Instruction Event Register (SIER) not to be set for marked events. Hence add a check to use the address in SIAR (Sampled Instruction Address Register) to identify the privilege level. Signed-off-by: Athira Rajeev <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions