brintos

brintos / linux-shallow public Read only

0
0
Text · 401 B · 0c6a1ff Raw
20 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef __PERF_CAP_H3#define __PERF_CAP_H4 5#include <stdbool.h>6 7/* For older systems */8#ifndef CAP_SYSLOG9#define CAP_SYSLOG	3410#endif11 12#ifndef CAP_PERFMON13#define CAP_PERFMON	3814#endif15 16/* Query if a capability is supported, used_root is set if the fallback root check was used. */17bool perf_cap__capable(int cap, bool *used_root);18 19#endif /* __PERF_CAP_H */20