Home
last modified time | relevance | path

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

/linux-6.14.4/tools/perf/util/
Dcap.h17 bool perf_cap__capable(int cap, bool *used_root);
Dcap.c16 bool perf_cap__capable(int cap, bool *used_root) in perf_cap__capable() function
Dutil.c336 if (perf_cap__capable(CAP_SYS_ADMIN, &used_root)) in perf_event_paranoid_check()
339 if (!used_root && perf_cap__capable(CAP_PERFMON, &used_root)) in perf_event_paranoid_check()
Dsymbol.c2439 bool cap_syslog = perf_cap__capable(CAP_SYSLOG, &used_root); in symbol__read_kptr_restrict()
/linux-6.14.4/tools/perf/
Dbuiltin-ftrace.c72 if (perf_cap__capable(CAP_PERFMON, &used_root)) in check_ftrace_capable()
75 if (!used_root && perf_cap__capable(CAP_SYS_ADMIN, &used_root)) in check_ftrace_capable()