Home
last modified time | relevance | path

Searched refs:read_pmc (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/arch/x86/kvm/
Dpmu.c141 static u64 read_pmc(struct kvm_pmc *pmc) in read_pmc() function
159 pmc->counter = read_pmc(pmc); in stop_counter()
365 *data = read_pmc(pmc); in kvm_pmu_get_msr()
418 pmc->counter += data - read_pmc(pmc); in kvm_pmu_set_msr()
455 ctr = read_pmc(&counters[pmc]); in kvm_pmu_read_pmc()
Demulate.c3161 if (ctxt->ops->read_pmc(ctxt, reg_read(ctxt, VCPU_REGS_RCX), &pmc)) in em_rdpmc()
Dx86.c5053 .read_pmc = emulator_read_pmc,
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
Debb.h65 u64 read_pmc(int pmc);
Debb.c261 val = read_pmc(pmc); in count_pmc()
445 u64 read_pmc(int pmc) in read_pmc() function
/linux-4.1.27/arch/powerpc/perf/
Dcore-fsl-emb.c56 static unsigned long read_pmc(int idx) in read_pmc() function
194 val = read_pmc(event->hw.idx); in fsl_emb_pmu_read()
677 val = read_pmc(i); in perf_event_interrupt()
Dcore-book3s.c696 static unsigned long read_pmc(int idx) in read_pmc() function
787 pmcs[i] = read_pmc(i + 1); in perf_event_print_debug()
1016 val = read_pmc(event->hw.idx); in power_pmu_read()
1029 val = read_pmc(event->hw.idx); in power_pmu_read()
2076 val[i] = read_pmc(i + 1); in perf_event_interrupt()
/linux-4.1.27/arch/sparc/kernel/
Dperf_event.c159 u32 (*read_pmc)(int); member
323 .read_pmc = sparc_default_read_pmc,
461 .read_pmc = sparc_default_read_pmc,
596 .read_pmc = sparc_default_read_pmc,
753 .read_pmc = sparc_vt_read_pmc,
783 .read_pmc = sparc_vt_read_pmc,
870 new_raw_count = sparc_pmu->read_pmc(idx); in sparc_perf_event_update()
/linux-4.1.27/arch/x86/include/asm/
Dkvm_emulate.h199 int (*read_pmc)(struct x86_emulate_ctxt *ctxt, u32 pmc, u64 *pdata); member
Dparavirt_types.h160 u64 (*read_pmc)(int counter); member
Dparavirt.h206 return PVOP_CALL1(u64, pv_cpu_ops.read_pmc, counter); in paravirt_read_pmc()
/linux-4.1.27/arch/x86/kernel/
Dparavirt.c361 .read_pmc = native_read_pmc,
/linux-4.1.27/arch/x86/xen/
Denlighten.c1223 .read_pmc = native_read_pmc,