Searched refs:used_root (Results 1 – 5 of 5) sorted by relevance
15 bool perf_cap__capable(int cap, bool *used_root) in perf_cap__capable() argument24 *used_root = false; in perf_cap__capable()33 *used_root = true; in perf_cap__capable()
22 bool perf_cap__capable(int cap, bool *used_root);
627 bool used_root; in check_bpf_filter_capable() local629 if (perf_cap__capable(CAP_BPF, &used_root)) in check_bpf_filter_capable()632 if (!used_root) { in check_bpf_filter_capable()644 used_root ? "root" : "users with the CAP_BPF capability"); in check_bpf_filter_capable()
2451 bool used_root; in symbol__read_kptr_restrict() local2452 bool cap_syslog = perf_cap__capable(CAP_SYSLOG, &used_root); in symbol__read_kptr_restrict()
73 bool used_root; in check_ftrace_capable() local75 if (perf_cap__capable(CAP_PERFMON, &used_root)) in check_ftrace_capable()78 if (!used_root && perf_cap__capable(CAP_SYS_ADMIN, &used_root)) in check_ftrace_capable()82 used_root ? "root" in check_ftrace_capable()