summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2026-04-09 18:56:37 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-04-09 18:56:37 +0800
commit11c840192768a5a63b6aed75273c5e8e416230ee (patch)
treec2ab9832598c32a6bccfcfe2da38deaa693374a5 /tools/perf/scripts/python/bin/stackcollapse-record
parentfa19ea9a7bdb97575e05d72305a4c40a3a631357 (diff)
KVM: LoongArch: selftests: Add basic PMU event counting test
Introduce a basic PMU test that verifies hardware event counting for four performance counters. The test enables the events for CPU cycles, instructions retired, branch instructions, and branch misses, runs a fixed number of loops, and checks that the counter values fall within expected ranges. It also validates that the host supports PMU and that the VM feature is enabled. Signed-off-by: Song Gao <gaosong@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions