Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/perf/
Dcore-fsl-emb.c22 u8 pmcs_enabled; member
217 if (!cpuhw->pmcs_enabled) { in fsl_emb_pmu_disable()
219 cpuhw->pmcs_enabled = 1; in fsl_emb_pmu_disable()
Dcore-book3s.c36 u8 pmcs_enabled; member
1215 if (!cpuhw->pmcs_enabled) { in power_pmu_disable()
1217 cpuhw->pmcs_enabled = 1; in power_pmu_disable()
/Linux-v5.4/arch/powerpc/kernel/
Dsysfs.c393 static DEFINE_PER_CPU(char, pmcs_enabled);
400 if (__this_cpu_read(pmcs_enabled)) in ppc_enable_pmcs()
403 __this_cpu_write(pmcs_enabled, 1); in ppc_enable_pmcs()