diff options
author | 2024-09-18 20:53:15 +0000 | |
---|---|---|
committer | 2025-01-08 12:01:18 -0800 | |
commit | c76a923828059ac9999e4415dcbd9706ac9540a0 (patch) | |
tree | 800320c3b39251a4225c36d16d00d2a9c1e2033c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: selftests: Fix typos in x86's PMU counter test's macro variable use (diff) | |
download | linux-rng-c76a923828059ac9999e4415dcbd9706ac9540a0.tar.xz linux-rng-c76a923828059ac9999e4415dcbd9706ac9540a0.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions