Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/include/asm/
Dmmu.h44 atomic_t perf_rdpmc_allowed; /* nonzero if rdpmc is allowed */ member
Dmmu_context.h33 atomic_read(&mm->context.perf_rdpmc_allowed)) in load_mm_cr4()
/Linux-v4.19/arch/x86/events/
Dcore.c2155 if (atomic_inc_return(&mm->context.perf_rdpmc_allowed) == 1) in x86_pmu_event_mapped()
2165 if (atomic_dec_and_test(&mm->context.perf_rdpmc_allowed)) in x86_pmu_event_unmapped()