diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2022-06-01 08:33:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 11:33:53 +0300 |
commit | a16fbcef1649b898617239dd108c8515618c3488 (patch) | |
tree | 981e50ebc561717cbfd2b395431ee2f059d7585e /libnetdata | |
parent | d5d67cbf5a7200adefa55f05fbbb4e7009901bd6 (diff) |
Fix disabled apps (ebpf.plugin) (#13044)
Diffstat (limited to 'libnetdata')
-rw-r--r-- | libnetdata/ebpf/ebpf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnetdata/ebpf/ebpf.c b/libnetdata/ebpf/ebpf.c index 43dc7d6f22..ffb602307c 100644 --- a/libnetdata/ebpf/ebpf.c +++ b/libnetdata/ebpf/ebpf.c @@ -971,6 +971,9 @@ void ebpf_update_module_using_config(ebpf_module_t *modules) modules->apps_charts = appconfig_get_boolean(modules->cfg, EBPF_GLOBAL_SECTION, EBPF_CFG_APPLICATION, modules->apps_charts); + modules->cgroup_charts = appconfig_get_boolean(modules->cfg, EBPF_GLOBAL_SECTION, EBPF_CFG_CGROUP, + modules->cgroup_charts); + modules->pid_map_size = (uint32_t)appconfig_get_number(modules->cfg, EBPF_GLOBAL_SECTION, EBPF_CFG_PID_SIZE, modules->pid_map_size); |