FILE
bperf_cgroup.h
File preview with syntax highlighting.
linux-6.19.14/tools/perf/util/bpf_skel/bperf_cgroup.h
1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2/* Data structures shared between BPF and tools. */ 3#ifndef __BPERF_CGROUP_H 4#define __BPERF_CGROUP_H 5 6// These constants impact code size of bperf_cgroup.bpf.c that may result in BPF 7// verifier issues. They are exposed to control the size and also to disable BPF 8// counters when the number of user events is too large. 9 10// max cgroup hierarchy level: arbitrary 11#define BPERF_CGROUP__MAX_LEVELS 10 12// max events per cgroup: arbitrary 13#define BPERF_CGROUP__MAX_EVENTS 128 14 15#endif /* __BPERF_CGROUP_H */
~/
Read-only file preview.