diff options
Diffstat (limited to 'collectors/ebpf.plugin/ebpf_apps.h')
-rw-r--r-- | collectors/ebpf.plugin/ebpf_apps.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/collectors/ebpf.plugin/ebpf_apps.h b/collectors/ebpf.plugin/ebpf_apps.h index 47741c9041..46d36966e9 100644 --- a/collectors/ebpf.plugin/ebpf_apps.h +++ b/collectors/ebpf.plugin/ebpf_apps.h @@ -367,10 +367,15 @@ typedef struct ebpf_process_stat { typedef struct ebpf_bandwidth { uint32_t pid; - uint64_t first; //First timestamp - uint64_t ct; //Last timestamp - uint64_t sent; //Bytes sent - uint64_t received; //Bytes received + uint64_t first; // First timestamp + uint64_t ct; // Last timestamp + uint64_t bytes_sent; // Bytes sent + uint64_t bytes_received; // Bytes received + uint64_t call_tcp_sent; // Number of times tcp_sendmsg was called + uint64_t call_tcp_received; // Number of times tcp_cleanup_rbuf was called + uint64_t retransmit; // Number of times tcp_retransmit was called + uint64_t call_udp_sent; // Number of times udp_sendmsg was called + uint64_t call_udp_received; // Number of times udp_recvmsg was called } ebpf_bandwidth_t; /** |