Home
last modified time | relevance | path

Searched refs:perf_cap__capable (Results 1 – 5 of 5) sorted by relevance

/linux/tools/perf/util/
A Dcap.h13 bool perf_cap__capable(cap_value_t cap);
20 static inline bool perf_cap__capable(int cap __maybe_unused) in perf_cap__capable() function
A Dcap.c12 bool perf_cap__capable(cap_value_t cap) in perf_cap__capable() function
A Dutil.c292 return perf_cap__capable(CAP_SYS_ADMIN) || in perf_event_paranoid_check()
293 perf_cap__capable(CAP_PERFMON) || in perf_event_paranoid_check()
A Dsymbol.c2470 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()
/linux/tools/perf/
A Dbuiltin-ftrace.c577 if (!(perf_cap__capable(CAP_PERFMON) || in __cmd_ftrace()
578 perf_cap__capable(CAP_SYS_ADMIN))) { in __cmd_ftrace()

Completed in 11 milliseconds