Searched refs:eventsel (Results 1 - 8 of 8) sorted by relevance
/linux-4.1.27/arch/x86/kvm/ |
H A D | pmu.c | 24 u8 eventsel; member in struct:kvm_arch_event_perf_mapping 206 if (arch_events[i].eventsel == event_select find_arch_event() 217 static void reprogram_gp_counter(struct kvm_pmc *pmc, u64 eventsel) reprogram_gp_counter() argument 222 if (eventsel & ARCH_PERFMON_EVENTSEL_PIN_CONTROL) reprogram_gp_counter() 225 pmc->eventsel = eventsel; reprogram_gp_counter() 229 if (!(eventsel & ARCH_PERFMON_EVENTSEL_ENABLE) || !pmc_enabled(pmc)) reprogram_gp_counter() 232 event_select = eventsel & ARCH_PERFMON_EVENTSEL_EVENT; reprogram_gp_counter() 233 unit_mask = (eventsel & ARCH_PERFMON_EVENTSEL_UMASK) >> 8; reprogram_gp_counter() 235 if (!(eventsel & (ARCH_PERFMON_EVENTSEL_EDGE | reprogram_gp_counter() 247 config = eventsel & X86_RAW_EVENT_MASK; reprogram_gp_counter() 250 !(eventsel & ARCH_PERFMON_EVENTSEL_USR), reprogram_gp_counter() 251 !(eventsel & ARCH_PERFMON_EVENTSEL_OS), reprogram_gp_counter() 252 eventsel & ARCH_PERFMON_EVENTSEL_INT, reprogram_gp_counter() 253 (eventsel & HSW_IN_TX), reprogram_gp_counter() 254 (eventsel & HSW_IN_TX_CHECKPOINTED)); reprogram_gp_counter() 304 reprogram_gp_counter(pmc, pmc->eventsel); reprogram_idx() 368 *data = pmc->eventsel; kvm_pmu_get_msr() 421 if (data == pmc->eventsel) kvm_pmu_set_msr() 543 pmc->counter = pmc->eventsel = 0; kvm_pmu_reset()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
H A D | perf_event_amd.c | 148 static inline int amd_pmu_addr_offset(int index, bool eventsel) amd_pmu_addr_offset() argument 155 if (eventsel) amd_pmu_addr_offset() 168 if (eventsel) amd_pmu_addr_offset() 631 .eventsel = MSR_K7_EVNTSEL0, 674 x86_pmu.eventsel = MSR_F15H_PERF_CTL; amd_core_pmu_init()
|
H A D | perf_event_knc.c | 296 .eventsel = MSR_KNC_EVNTSEL0,
|
H A D | perf_event_p6.c | 209 .eventsel = MSR_P6_EVNTSEL0,
|
H A D | perf_event.h | 505 unsigned eventsel; member in struct:x86_pmu 507 int (*addr_offset)(int index, bool eventsel); 687 return x86_pmu.eventsel + (x86_pmu.addr_offset ? x86_pmu_config_addr()
|
H A D | perf_event_p4.c | 1308 .eventsel = MSR_P4_BPU_CCCR0,
|
H A D | perf_event_intel.c | 2712 .eventsel = MSR_ARCH_PERFMON_EVENTSEL0, 2750 .eventsel = MSR_ARCH_PERFMON_EVENTSEL0,
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | kvm_host.h | 318 u64 eventsel; member in struct:kvm_pmc
|
Completed in 213 milliseconds