aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-11-23 19:51:49 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2021-11-24 21:08:57 +1100
commit245ebf8e7380b3d84c0aac37fbfd9306b45a3a7a (patch)
treec971581a1e6f91ba65b4b13eef7d6b4781f6b10d /tools/perf/scripts/python/flamegraph.py
parentKVM: PPC: Book3S HV: Don't always save PMU for guest capable of nesting (diff)
downloadlinux-245ebf8e7380b3d84c0aac37fbfd9306b45a3a7a.tar.gz
linux-245ebf8e7380b3d84c0aac37fbfd9306b45a3a7a.zip
powerpc/64s: Always set PMU control registers to frozen/disabled when not in use
KVM PMU management code looks for particular frozen/disabled bits in the PMU registers so it knows whether it must clear them when coming out of a guest or not. Setting this up helps KVM make these optimisations without getting confused. Longer term the better approach might be to move guest/host PMU switching to the perf subsystem. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Athira Jajeev <atrajeev@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211123095231.1036501-12-npiggin@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions