Searched refs:perf_allow_kernel (Results 1 – 4 of 4) sorted by relevance
53 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()
562 ret = perf_allow_kernel(&event->attr); in bts_event_init()
1633 int perf_allow_kernel(struct perf_event_attr *attr);
12427 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() function13551 EXPORT_SYMBOL_GPL(perf_allow_kernel);