Home
last modified time | relevance | path

Searched refs:pmcs_enabled (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/powerpc/perf/
H A Dcore-fsl-emb.c22 u8 pmcs_enabled; member
204 if (!cpuhw->pmcs_enabled) { in fsl_emb_pmu_disable()
206 cpuhw->pmcs_enabled = 1; in fsl_emb_pmu_disable()
H A Dcore-book3s.c38 u8 pmcs_enabled; member
1319 if (!cpuhw->pmcs_enabled) { in power_pmu_disable()
1321 cpuhw->pmcs_enabled = 1; in power_pmu_disable()
/openbmc/linux/arch/powerpc/kernel/
H A Dsysfs.c539 static DEFINE_PER_CPU(char, pmcs_enabled);
546 if (__this_cpu_read(pmcs_enabled)) in ppc_enable_pmcs()
549 __this_cpu_write(pmcs_enabled, 1); in ppc_enable_pmcs()