Home
last modified time | relevance | path

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

/arch/powerpc/perf/
Dcore-fsl-emb.c26 u8 pmcs_enabled; member
197 if (!cpuhw->pmcs_enabled) { in fsl_emb_pmu_disable()
199 cpuhw->pmcs_enabled = 1; in fsl_emb_pmu_disable()
Dcore-book3s.c28 u8 pmcs_enabled; member
594 if (!cpuhw->pmcs_enabled) { in power_pmu_disable()
596 cpuhw->pmcs_enabled = 1; in power_pmu_disable()
/arch/powerpc/kernel/
Dsysfs.c93 static DEFINE_PER_CPU(char, pmcs_enabled);
100 if (__get_cpu_var(pmcs_enabled)) in ppc_enable_pmcs()
103 __get_cpu_var(pmcs_enabled) = 1; in ppc_enable_pmcs()