diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2022-03-14 14:29:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 16:29:11 +0200 |
commit | 3e20d9f9217a153affd0450c72543c19ba67bf18 (patch) | |
tree | 29057bee51025791a6791029dab2f746a3f7b04e /collectors/ebpf.plugin | |
parent | c367788fc027a2696ea712f85aebb5db9d158de8 (diff) |
Remove unecessary error report for proc and sys files (#12385)
Diffstat (limited to 'collectors/ebpf.plugin')
-rw-r--r-- | collectors/ebpf.plugin/ebpf_apps.c | 2 | ||||
-rw-r--r-- | collectors/ebpf.plugin/ebpf_cgroup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/collectors/ebpf.plugin/ebpf_apps.c b/collectors/ebpf.plugin/ebpf_apps.c index 015d1bf213..abc1126422 100644 --- a/collectors/ebpf.plugin/ebpf_apps.c +++ b/collectors/ebpf.plugin/ebpf_apps.c @@ -275,7 +275,7 @@ int ebpf_read_apps_groups_conf(struct target **agdt, struct target **agrt, const // ---------------------------------------- - procfile *ff = procfile_open(filename, " :\t", PROCFILE_FLAG_DEFAULT); + procfile *ff = procfile_open_no_log(filename, " :\t", PROCFILE_FLAG_DEFAULT); if (!ff) return -1; diff --git a/collectors/ebpf.plugin/ebpf_cgroup.c b/collectors/ebpf.plugin/ebpf_cgroup.c index ecdc46c0b0..e6b483bafa 100644 --- a/collectors/ebpf.plugin/ebpf_cgroup.c +++ b/collectors/ebpf.plugin/ebpf_cgroup.c @@ -242,7 +242,7 @@ static ebpf_cgroup_target_t * ebpf_cgroup_find_or_create(netdata_ebpf_cgroup_shm */ static void ebpf_update_pid_link_list(ebpf_cgroup_target_t *ect, char *path) { - procfile *ff = procfile_open(path, " \t:", PROCFILE_FLAG_DEFAULT); + procfile *ff = procfile_open_no_log(path, " \t:", PROCFILE_FLAG_DEFAULT); if (!ff) return; |