summaryrefslogtreecommitdiffstats
path: root/libnetdata
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2021-10-01 10:45:03 +0000
committerGitHub <noreply@github.com>2021-10-01 10:45:03 +0000
commit9c4e17dd00de645d7943f358c89dac8dccf2b785 (patch)
tree4ffdaeac7ee0e6c9b5a0ed6f72169e06dadec93e /libnetdata
parentce74354558e354b3423027e3b085da1fe702d6f9 (diff)
Integrate eBPF and cgroup (consumer side) (#11573)
Diffstat (limited to 'libnetdata')
-rw-r--r--libnetdata/ebpf/ebpf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnetdata/ebpf/ebpf.h b/libnetdata/ebpf/ebpf.h
index 55f582302a..3b3dab4ff5 100644
--- a/libnetdata/ebpf/ebpf.h
+++ b/libnetdata/ebpf/ebpf.h
@@ -20,6 +20,7 @@
#define EBPF_CFG_UPDATE_EVERY "update every"
#define EBPF_CFG_PID_SIZE "pid table size"
#define EBPF_CFG_APPLICATION "apps"
+#define EBPF_CFG_CGROUP "cgroups"
/**
* The next magic number is got doing the following math:
@@ -155,6 +156,7 @@ typedef struct ebpf_module {
int update_time;
int global_charts;
int apps_charts;
+ int cgroup_charts;
netdata_run_mode_t mode;
uint32_t thread_id;
int optional;