summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2020-11-13 14:04:36 +0000
committerGitHub <noreply@github.com>2020-11-13 14:04:36 +0000
commit4f117894d2ca499bad82dd622a1cfeced50bb87d (patch)
treed82b36ba3f4f5ddbc6aea5ca1205e48a1114db0b /collectors
parent8214659c92e2c928aeb9564b858ba88eb7502f75 (diff)
New ebpf release (#10202)
Update ebpf version
Diffstat (limited to 'collectors')
-rw-r--r--collectors/ebpf.plugin/ebpf_apps.h1
-rw-r--r--collectors/ebpf.plugin/ebpf_socket.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/collectors/ebpf.plugin/ebpf_apps.h b/collectors/ebpf.plugin/ebpf_apps.h
index 8a73e699f4..24b0ab7c21 100644
--- a/collectors/ebpf.plugin/ebpf_apps.h
+++ b/collectors/ebpf.plugin/ebpf_apps.h
@@ -369,7 +369,6 @@ typedef struct ebpf_bandwidth {
uint64_t ct; //Last timestamp
uint64_t sent; //Bytes sent
uint64_t received; //Bytes received
- unsigned char removed; //Remove the PID from table
} ebpf_bandwidth_t;
/**
diff --git a/collectors/ebpf.plugin/ebpf_socket.c b/collectors/ebpf.plugin/ebpf_socket.c
index 590346de96..ebed45a85e 100644
--- a/collectors/ebpf.plugin/ebpf_socket.c
+++ b/collectors/ebpf.plugin/ebpf_socket.c
@@ -1472,9 +1472,6 @@ static void ebpf_socket_update_apps_data()
ebpf_socket_fill_publish_apps(key, eb);
- if (eb[0].removed)
- bpf_map_delete_elem(fd, &key);
-
pids = pids->next;
}
}