Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb.h64 u64 read_pmc(int pmc);
H A Debb.c260 val = read_pmc(pmc); in count_pmc()
452 u64 read_pmc(int pmc) in read_pmc() function
/openbmc/linux/arch/powerpc/perf/
H A Dcore-fsl-emb.c39 static unsigned long read_pmc(int idx) in read_pmc() function
177 val = read_pmc(event->hw.idx); in fsl_emb_pmu_read()
652 val = read_pmc(i); in perf_event_interrupt()
H A Dcore-book3s.c814 static unsigned long read_pmc(int idx) in read_pmc() function
895 if ((idx) && ((int)read_pmc(idx) < 0)) in any_pmc_overflown()
923 pmcs[i] = read_pmc(i + 1); in perf_event_print_debug()
1168 val = read_pmc(event->hw.idx); in power_pmu_read()
1181 val = read_pmc(event->hw.idx); in power_pmu_read()
2411 cpuhw->pmcs[i] = read_pmc(i + 1); in __perf_event_interrupt()
/openbmc/linux/arch/sparc/kernel/
H A Dperf_event.c161 u32 (*read_pmc)(int); member
325 .read_pmc = sparc_default_read_pmc,
463 .read_pmc = sparc_default_read_pmc,
598 .read_pmc = sparc_default_read_pmc,
755 .read_pmc = sparc_vt_read_pmc,
785 .read_pmc = sparc_vt_read_pmc,
872 new_raw_count = sparc_pmu->read_pmc(idx); in sparc_perf_event_update()
/openbmc/linux/arch/x86/kernel/
H A Dparavirt.c198 .cpu.read_pmc = native_read_pmc,
/openbmc/linux/arch/x86/kvm/
H A Dkvm_emulate.h206 int (*read_pmc)(struct x86_emulate_ctxt *ctxt, u32 pmc, u64 *pdata); member
H A Demulate.c3252 if (ctxt->ops->read_pmc(ctxt, reg_read(ctxt, VCPU_REGS_RCX), &pmc)) in em_rdpmc()
H A Dx86.c8369 .read_pmc = emulator_read_pmc,
/openbmc/linux/arch/x86/include/asm/
H A Dparavirt_types.h114 u64 (*read_pmc)(int counter); member
H A Dparavirt.h254 return PVOP_CALL1(u64, cpu.read_pmc, counter); in paravirt_read_pmc()
/openbmc/linux/arch/x86/xen/
H A Denlighten_pv.c1160 .read_pmc = xen_read_pmc,
/openbmc/qemu/target/ppc/
H A Dhelper.h35 DEF_HELPER_2(read_pmc, tl, env, i32)