Searched refs:used_root (Results 1 – 5 of 5) sorted by relevance
16 bool perf_cap__capable(int cap, bool *used_root) in perf_cap__capable() argument25 *used_root = false; in perf_cap__capable()34 *used_root = true; in perf_cap__capable()
334 bool used_root; in perf_event_paranoid_check() local336 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()
17 bool perf_cap__capable(int cap, bool *used_root);
2441 bool used_root; in symbol__read_kptr_restrict() local2442 bool cap_syslog = perf_cap__capable(CAP_SYSLOG, &used_root); in symbol__read_kptr_restrict()
70 bool used_root; in check_ftrace_capable() local72 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()79 used_root ? "root" in check_ftrace_capable()