Searched refs:perf_cap__capable (Results 1 – 5 of 5) sorted by relevance
13 bool perf_cap__capable(cap_value_t cap);20 static inline bool perf_cap__capable(int cap __maybe_unused) in perf_cap__capable() function
12 bool perf_cap__capable(cap_value_t cap) in perf_cap__capable() function
292 return perf_cap__capable(CAP_SYS_ADMIN) || in perf_event_paranoid_check()293 perf_cap__capable(CAP_PERFMON) || in perf_event_paranoid_check()
2470 value = perf_cap__capable(CAP_SYSLOG) ? in symbol__read_kptr_restrict()2480 if (perf_event_paranoid() > 1 && !perf_cap__capable(CAP_SYSLOG)) in symbol__read_kptr_restrict()
577 if (!(perf_cap__capable(CAP_PERFMON) || in __cmd_ftrace()578 perf_cap__capable(CAP_SYS_ADMIN))) { in __cmd_ftrace()
Completed in 11 milliseconds