Searched refs:event_select (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A 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()
|
/openbmc/linux/tools/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 545 #define KVM_PMU_ENCODE_MASKED_ENTRY(event_select, mask, match, exclude) \ argument 546 (((event_select) & 0xFFULL) | (((event_select) & 0XF00ULL) << 24) | \
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 545 #define KVM_PMU_ENCODE_MASKED_ENTRY(event_select, mask, match, exclude) \ argument 546 (((event_select) & 0xFFULL) | (((event_select) & 0XF00ULL) << 24) | \
|
/openbmc/linux/arch/x86/kvm/ |
H A D | pmu.c | 321 u64 event_select = eventsel & kvm_pmu_ops.EVENTSEL_EVENT; in filter_contains_match() local 325 index = find_filter_index(events, nevents, event_select); in filter_contains_match() 334 if (filter_event_cmp(&events[i], &event_select)) in filter_contains_match() 342 if (filter_event_cmp(&events[i], &event_select)) in filter_contains_match()
|
/openbmc/qemu/linux-headers/asm-x86/ |
H A D | kvm.h | 898 #define KVM_PMU_ENCODE_MASKED_ENTRY(event_select, mask, match, exclude) \ argument 899 (((event_select) & 0xFFULL) | (((event_select) & 0XF00ULL) << 24) | \
|
/openbmc/u-boot/include/ |
H A D | fsl_immap.h | 176 u32 event_select; /* Event Select */ member
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A 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()
|