@cryptotaxi247 / netdata-1 / commits / eede06092

Do not force OOMKill (#16115)

thiagoftsm committed Oct 3, 2023 at 16:17 UTC eede0609268fb451af43a7c5c9a631a1197726b6
1 file changed -6
collectors/ebpf.plugin/ebpf.c
-6
@@ -2170,12 +2170,6 @@ static inline void ebpf_enable_specific_chart(struct ebpf_module *em, int disabl
2170 {
2171 em->enabled = NETDATA_THREAD_EBPF_RUNNING;
2172
2173 - // oomkill stores data inside apps submenu, so it always need to have apps_enabled for plugin to create
2174 - // its chart, without this comparison eBPF.plugin will try to store invalid data when apps is disabled.
2175 - if (!strcmp(em->info.thread_name, "oomkill")) {
2176 - em->apps_charts = NETDATA_EBPF_APPS_FLAG_YES;
2177 - }
2178 -
2173 if (!disable_cgroup) {
2174 em->cgroup_charts = CONFIG_BOOLEAN_YES;
2175 }