Home
last modified time | relevance | path

Searched refs:FIXED_PMC_CTRL (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dpmu.h51 #define FIXED_PMC_CTRL(_idx, _val) ((_val) << ((_idx) * FIXED_PMC_NR_BITS)) macro
/linux/tools/testing/selftests/kvm/x86_64/
H A Dpmu_counters_test.c278 wrmsr(MSR_CORE_PERF_FIXED_CTR_CTRL, FIXED_PMC_CTRL(i, FIXED_PMC_KERNEL)); in guest_test_arch_event()
503 FIXED_PMC_CTRL(i, FIXED_PMC_KERNEL)); in guest_test_fixed_counters()
515 wrmsr(MSR_CORE_PERF_FIXED_CTR_CTRL, FIXED_PMC_CTRL(i, FIXED_PMC_KERNEL)); in guest_test_fixed_counters()
H A Dpmu_event_filter_test.c736 wrmsr(MSR_CORE_PERF_FIXED_CTR_CTRL, FIXED_PMC_CTRL(idx, FIXED_PMC_KERNEL)); in intel_run_fixed_counter_guest_code()