Home
last modified time | relevance | path

Searched refs:eventsel (Results 1 – 8 of 8) sorted by relevance

/arch/x86/kvm/
Dpmu.c24 u8 eventsel; member
206 if (arch_events[i].eventsel == event_select in find_arch_event()
217 static void reprogram_gp_counter(struct kvm_pmc *pmc, u64 eventsel) in reprogram_gp_counter() argument
222 if (eventsel & ARCH_PERFMON_EVENTSEL_PIN_CONTROL) in reprogram_gp_counter()
225 pmc->eventsel = eventsel; in reprogram_gp_counter()
229 if (!(eventsel & ARCH_PERFMON_EVENTSEL_ENABLE) || !pmc_enabled(pmc)) in reprogram_gp_counter()
232 event_select = eventsel & ARCH_PERFMON_EVENTSEL_EVENT; in reprogram_gp_counter()
233 unit_mask = (eventsel & ARCH_PERFMON_EVENTSEL_UMASK) >> 8; in reprogram_gp_counter()
235 if (!(eventsel & (ARCH_PERFMON_EVENTSEL_EDGE | in reprogram_gp_counter()
247 config = eventsel & X86_RAW_EVENT_MASK; in reprogram_gp_counter()
[all …]
/arch/x86/kernel/cpu/
Dperf_event_amd.c148 static inline int amd_pmu_addr_offset(int index, bool eventsel) in amd_pmu_addr_offset() argument
155 if (eventsel) in amd_pmu_addr_offset()
168 if (eventsel) in amd_pmu_addr_offset()
628 .eventsel = MSR_K7_EVNTSEL0,
671 x86_pmu.eventsel = MSR_F15H_PERF_CTL; in amd_core_pmu_init()
Dperf_event.h421 unsigned eventsel; member
423 int (*addr_offset)(int index, bool eventsel);
570 return x86_pmu.eventsel + (x86_pmu.addr_offset ? in x86_pmu_config_addr()
Dperf_event_p6.c209 .eventsel = MSR_P6_EVNTSEL0,
Dperf_event_knc.c296 .eventsel = MSR_KNC_EVNTSEL0,
Dperf_event_intel.c1944 .eventsel = MSR_ARCH_PERFMON_EVENTSEL0,
2088 .eventsel = MSR_ARCH_PERFMON_EVENTSEL0,
Dperf_event_p4.c1308 .eventsel = MSR_P4_BPU_CCCR0,
/arch/x86/include/asm/
Dkvm_host.h312 u64 eventsel; member