summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2023-10-03 16:17:58 -0300
committerGitHub <noreply@github.com>2023-10-03 19:17:58 +0000
commiteede0609268fb451af43a7c5c9a631a1197726b6 (patch)
treef18b5cc197b011684dc97c9537bc764a4da19df9 /collectors/ebpf.plugin
parent3baedcc1e9984bd494245271330322fa73d37f34 (diff)
Do not force OOMKill (#16115)
Diffstat (limited to 'collectors/ebpf.plugin')
-rw-r--r--collectors/ebpf.plugin/ebpf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/collectors/ebpf.plugin/ebpf.c b/collectors/ebpf.plugin/ebpf.c
index 5ccc353fc8..51b2b89723 100644
--- a/collectors/ebpf.plugin/ebpf.c
+++ b/collectors/ebpf.plugin/ebpf.c
@@ -2170,12 +2170,6 @@ static inline void ebpf_enable_specific_chart(struct ebpf_module *em, int disabl
{
em->enabled = NETDATA_THREAD_EBPF_RUNNING;
- // oomkill stores data inside apps submenu, so it always need to have apps_enabled for plugin to create
- // its chart, without this comparison eBPF.plugin will try to store invalid data when apps is disabled.
- if (!strcmp(em->info.thread_name, "oomkill")) {
- em->apps_charts = NETDATA_EBPF_APPS_FLAG_YES;
- }
-
if (!disable_cgroup) {
em->cgroup_charts = CONFIG_BOOLEAN_YES;
}