summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin/ebpf_process.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:50:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:50:01 +0000
commitcd4377fab21e0f500bef7f06543fa848a039c1e0 (patch)
treeba00a55e430c052d6bed0b61c0f8bbe8ebedd313 /collectors/ebpf.plugin/ebpf_process.h
parentReleasing debian version 1.40.1-1. (diff)
downloadnetdata-cd4377fab21e0f500bef7f06543fa848a039c1e0.tar.xz
netdata-cd4377fab21e0f500bef7f06543fa848a039c1e0.zip
Merging upstream version 1.41.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/ebpf.plugin/ebpf_process.h')
-rw-r--r--collectors/ebpf.plugin/ebpf_process.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/collectors/ebpf.plugin/ebpf_process.h b/collectors/ebpf.plugin/ebpf_process.h
index bccdc0eb5..48267d87b 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{