diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2023-07-12 16:49:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 16:49:48 +0000 |
commit | 929b19f485b7100d8caa322abb0987afd01b3883 (patch) | |
tree | 578e1a52e1f09b109e5bf775c86fac9f84fc1e76 /collectors/ebpf.plugin/ebpf_process.h | |
parent | 83272d4903522d4a10535e96f4e3b7f869653137 (diff) |
eBPF Functions (enable/disable threads) (#15214)
Diffstat (limited to 'collectors/ebpf.plugin/ebpf_process.h')
-rw-r--r-- | collectors/ebpf.plugin/ebpf_process.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/collectors/ebpf.plugin/ebpf_process.h b/collectors/ebpf.plugin/ebpf_process.h index bccdc0eb5e..48267d87bc 100644 --- a/collectors/ebpf.plugin/ebpf_process.h +++ b/collectors/ebpf.plugin/ebpf_process.h @@ -3,8 +3,9 @@ #ifndef NETDATA_EBPF_PROCESS_H #define NETDATA_EBPF_PROCESS_H 1 -// Module name +// Module name & description #define NETDATA_EBPF_MODULE_NAME_PROCESS "process" +#define NETDATA_EBPF_MODULE_PROCESS_DESC "Monitor information about process life. This thread is integrated with apps and cgroup." // Groups used on Dashboard #define NETDATA_PROCESS_GROUP "processes" @@ -41,12 +42,13 @@ #define NETDATA_EBPF_CGROUP_UPDATE 30 -// Statistical information -enum netdata_ebpf_thread_stats{ - NETDATA_EBPF_THREAD_STAT_TOTAL, - NETDATA_EBPF_THREAD_STAT_RUNNING, - - NETDATA_EBPF_THREAD_STAT_END +enum netdata_ebpf_stats_order { + NETDATA_EBPF_ORDER_STAT_THREADS = 140000, + NETDATA_EBPF_ORDER_STAT_LIFE_TIME, + NETDATA_EBPF_ORDER_STAT_LOAD_METHOD, + NETDATA_EBPF_ORDER_STAT_KERNEL_MEMORY, + NETDATA_EBPF_ORDER_STAT_HASH_TABLES, + NETDATA_EBPF_ORDER_STAT_HASH_CORE }; enum netdata_ebpf_load_mode_stats{ |