summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2020-08-19 17:28:46 +0000
committerGitHub <noreply@github.com>2020-08-19 17:28:46 +0000
commitb9fa9d01e9f39370b7f7b4b423277e954d3a02d8 (patch)
treeed74c95cd322a7d7acf49c847445136623bf7f9e /collectors
parent41168009c6e20ad4c925c42adc8cf788e049fd5f (diff)
Remove ebpf debug messages (#9754)
Remove messages used to develop plugin.
Diffstat (limited to 'collectors')
-rw-r--r--collectors/ebpf.plugin/ebpf_socket.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/collectors/ebpf.plugin/ebpf_socket.c b/collectors/ebpf.plugin/ebpf_socket.c
index c651dc4f53..a1614b2921 100644
--- a/collectors/ebpf.plugin/ebpf_socket.c
+++ b/collectors/ebpf.plugin/ebpf_socket.c
@@ -1158,7 +1158,6 @@ static void hash_accumulator(netdata_socket_t *values, netdata_socket_idx_t *key
int i;
uint8_t protocol = values[0].protocol;
uint64_t ct = values[0].ct;
- error("KILLME_FIRST %u (%u)", protocol, ntohs(key->sport));
for (i = 1; i < end; i++) {
netdata_socket_t *w = &values[i];
@@ -1177,7 +1176,6 @@ static void hash_accumulator(netdata_socket_t *values, netdata_socket_idx_t *key
*removesock += (int)w->removeme;
}
- error("KILLME_LAST %u (%u)", protocol, ntohs(key->sport));
values[0].recv_packets += precv;
values[0].sent_packets += psent;
values[0].recv_bytes += brecv;
@@ -1223,7 +1221,6 @@ static void read_socket_hash_table(int fd, int family, int network_connection)
// values for specific processor unless it is used to store data. As result of this behavior one the next socket
// can have values from the previous one.
memset(values, 0, length);
- error("KILLME_READ %u %u %u %u (%u)", values[0].protocol, values[1].protocol, values[2].protocol, values[3].protocol, ntohs(key.sport));
test = bpf_map_lookup_elem(fd, &key, values);
if (test < 0) {
key = next_key;