Home
last modified time | relevance | path

Searched refs:perfmon_capable (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/include/linux/
Dcapability.h257 static inline bool perfmon_capable(void) in perfmon_capable() function
Dperf_event.h1369 if (sysctl_perf_event_paranoid > 1 && !perfmon_capable()) in perf_allow_kernel()
1377 if (sysctl_perf_event_paranoid > 0 && !perfmon_capable()) in perf_allow_cpu()
1385 if (sysctl_perf_event_paranoid > -1 && !perfmon_capable()) in perf_allow_tracepoint()
Dbpf.h1558 return perfmon_capable(); in bpf_allow_ptr_leaks()
1563 return perfmon_capable(); in bpf_allow_uninit_stack()
1568 return perfmon_capable(); in bpf_allow_ptr_to_map_access()
1573 return perfmon_capable(); in bpf_bypass_spec_v1()
1578 return perfmon_capable(); in bpf_bypass_spec_v4()
/linux-5.19.10/drivers/media/rc/
Dbpf-lirc.c113 if (perfmon_capable()) in lirc_mode2_func_proto()
/linux-5.19.10/arch/parisc/kernel/
Dperf.c303 if (!perfmon_capable()) in perf_write()
/linux-5.19.10/drivers/perf/
Darm_spe_pmu.c51 if (IS_ENABLED(CONFIG_PID_IN_CONTEXTIDR) && perfmon_capable()) in set_spe_event_has_cx()
732 if (!perfmon_capable() && in arm_spe_pmu_event_init()
/linux-5.19.10/arch/powerpc/perf/
Dimc-pmu.c980 if (!perfmon_capable()) in thread_imc_event_init()
1433 if (!perfmon_capable()) in trace_imc_event_init()
/linux-5.19.10/drivers/gpu/drm/i915/
Di915_perf.c3487 i915_perf_stream_paranoid && !perfmon_capable()) { in i915_perf_open_ioctl_locked()
3694 if (oa_freq_hz > i915_oa_max_sample_rate && !perfmon_capable()) { in read_properties_unlocked()
4114 if (i915_perf_stream_paranoid && !perfmon_capable()) { in i915_perf_add_config_ioctl()
4261 if (i915_perf_stream_paranoid && !perfmon_capable()) { in i915_perf_remove_config_ioctl()
/linux-5.19.10/kernel/bpf/
Dhelpers.c1682 if (!perfmon_capable()) in bpf_base_func_proto()
Dsyscall.c2478 if (is_perfmon_prog_type(type) && !perfmon_capable()) in bpf_prog_load()
5156 return !perfmon_capable() ? NULL : &bpf_sys_bpf_proto; in syscall_prog_func_proto()
/linux-5.19.10/kernel/trace/
Dbpf_trace.c1983 if (!perfmon_capable()) in perf_event_query_prog_array()
/linux-5.19.10/kernel/events/
Dcore.c9863 if (!perfmon_capable()) in perf_kprobe_event_init()
9923 if (!perfmon_capable()) in perf_uprobe_event_init()
11994 bool is_capable = perfmon_capable(); in perf_check_permission()
12068 if (!perfmon_capable()) in SYSCALL_DEFINE5()
/linux-5.19.10/net/core/
Dfilter.c11373 if (!perfmon_capable()) in bpf_sk_base_func_proto()