Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/include/asm/
Dmmu.h24 atomic_t perf_rdpmc_allowed; /* nonzero if rdpmc is allowed */ member
Dmmu_context.h27 atomic_read(&mm->context.perf_rdpmc_allowed)) in load_mm_cr4()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event.c2008 if (atomic_inc_return(&current->mm->context.perf_rdpmc_allowed) == 1) in x86_pmu_event_mapped()
2020 if (atomic_dec_and_test(&current->mm->context.perf_rdpmc_allowed)) in x86_pmu_event_unmapped()