summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorColton Lewis <coltonlewis@google.com>2024-09-18 23:53:15 +0300
committerSean Christopherson <seanjc@google.com>2025-01-08 23:01:18 +0300
commitc76a923828059ac9999e4415dcbd9706ac9540a0 (patch)
tree800320c3b39251a4225c36d16d00d2a9c1e2033c /tools/perf/scripts/python/task-analyzer.py
parent97d0d1655ea82ac8a54241d5457e6944fbff954c (diff)
downloadlinux-c76a923828059ac9999e4415dcbd9706ac9540a0.tar.xz
KVM: selftests: Add defines for AMD PMU CPUID features and properties
Add macros for AMD's PMU related CPUID features. To make it easier to cross reference selftest code with KVM/kernel code, use the same macro names as the kernel for the features. For reference, the AMD APM defines the features/properties as: * PerfCtrExtCore (six core counters instead of four) * PerfCtrExtNB (four counters for northbridge events) * PerfCtrExtL2I (four counters for L2 cache events) * PerfMonV2 (support for registers to control multiple counters with a single register write) * LbrAndPmcFreeze (support for freezing last branch recorded stack on performance counter overflow) * NumPerfCtrCore (number of core counters) * NumPerfCtrNB (number of northbridge counters) Signed-off-by: Colton Lewis <coltonlewis@google.com> Link: https://lore.kernel.org/r/20240918205319.3517569-3-coltonlewis@google.com [sean: massage changelog, use same names as the kernel] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions