Home
last modified time | relevance | path

Searched refs:perf_allow_kernel (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/perf/
H A Darm_spe_pmu.c53 if (IS_ENABLED(CONFIG_PID_IN_CONTEXTIDR) && !perf_allow_kernel(&event->attr)) in set_spe_event_has_cx()
749 return perf_allow_kernel(&event->attr); in arm_spe_pmu_event_init()
/linux/arch/x86/events/intel/
H A Dbts.c562 ret = perf_allow_kernel(&event->attr); in bts_event_init()
/linux/include/linux/
H A Dperf_event.h1633 int perf_allow_kernel(struct perf_event_attr *attr);
/linux/kernel/events/
H A Dcore.c12427 ret = perf_allow_kernel(attr); in perf_copy_attr()
12690 err = perf_allow_kernel(&attr); in SYSCALL_DEFINE5()
12710 err = perf_allow_kernel(&attr); in SYSCALL_DEFINE5()
13544 int perf_allow_kernel(struct perf_event_attr *attr) in perf_allow_kernel() function
13551 EXPORT_SYMBOL_GPL(perf_allow_kernel);