summaryrefslogtreecommitdiffstats
path: root/src/collectors/ebpf.plugin/ebpf.c
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2024-03-07 11:07:33 +0000
committerGitHub <noreply@github.com>2024-03-07 11:07:33 +0000
commit8e446dc58575757e529d91d4a64b68beeb2f98bb (patch)
treeef9ccfb9f8349b947f2cb1211bbc62eccccf121d /src/collectors/ebpf.plugin/ebpf.c
parent8d18e15971318fbbc8bf59ad061b926709532bf6 (diff)
eBPF cgroup update (#16630)
Diffstat (limited to 'src/collectors/ebpf.plugin/ebpf.c')
-rw-r--r--src/collectors/ebpf.plugin/ebpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collectors/ebpf.plugin/ebpf.c b/src/collectors/ebpf.plugin/ebpf.c
index e22d3596bc..5cbcd19abf 100644
--- a/src/collectors/ebpf.plugin/ebpf.c
+++ b/src/collectors/ebpf.plugin/ebpf.c
@@ -18,7 +18,7 @@
char *ebpf_plugin_dir = PLUGINS_DIR;
static char *ebpf_configured_log_dir = LOG_DIR;
-char *ebpf_algorithms[] = {"absolute", "incremental"};
+char *ebpf_algorithms[] = { EBPF_CHART_ALGORITHM_ABSOLUTE, EBPF_CHART_ALGORITHM_INCREMENTAL};
struct config collector_config = { .first_section = NULL,
.last_section = NULL,
.mutex = NETDATA_MUTEX_INITIALIZER,