Searched refs:event_select (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/tools/testing/selftests/kvm/x86_64/ |
D | pmu_event_filter_test.c | 493 #define INCLUDE_MASKED_ENTRY(event_select, mask, match) \ argument 494 KVM_PMU_ENCODE_MASKED_ENTRY(event_select, mask, match, false) 495 #define EXCLUDE_MASKED_ENTRY(event_select, mask, match) \ argument 496 KVM_PMU_ENCODE_MASKED_ENTRY(event_select, mask, match, true) 718 int event_select = i % 0xFF; in add_dummy_events() local 721 if (event_select == MEM_INST_RETIRED || in add_dummy_events() 722 event_select == LS_DISPATCH) in add_dummy_events() 723 event_select++; in add_dummy_events() 725 events[i] = KVM_PMU_ENCODE_MASKED_ENTRY(event_select, 0, in add_dummy_events()
|
/Linux-v6.6/arch/x86/include/uapi/asm/ |
D | kvm.h | 545 #define KVM_PMU_ENCODE_MASKED_ENTRY(event_select, mask, match, exclude) \ argument 546 (((event_select) & 0xFFULL) | (((event_select) & 0XF00ULL) << 24) | \
|
/Linux-v6.6/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 545 #define KVM_PMU_ENCODE_MASKED_ENTRY(event_select, mask, match, exclude) \ argument 546 (((event_select) & 0xFFULL) | (((event_select) & 0XF00ULL) << 24) | \
|
/Linux-v6.6/arch/x86/kvm/ |
D | pmu.c | 303 u64 event_select = eventsel & kvm_pmu_ops.EVENTSEL_EVENT; in filter_contains_match() local 307 index = find_filter_index(events, nevents, event_select); in filter_contains_match() 316 if (filter_event_cmp(&events[i], &event_select)) in filter_contains_match() 324 if (filter_event_cmp(&events[i], &event_select)) in filter_contains_match()
|
/Linux-v6.6/arch/x86/kvm/vmx/ |
D | pmu_intel.c | 107 u8 event_select = pmc->eventsel & ARCH_PERFMON_EVENTSEL_EVENT; in intel_hw_event_available() local 118 if (intel_arch_events[i].eventsel != event_select || in intel_hw_event_available()
|