summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin/ebpf_hardirq.h
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/ebpf.plugin/ebpf_hardirq.h')
-rw-r--r--collectors/ebpf.plugin/ebpf_hardirq.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/collectors/ebpf.plugin/ebpf_hardirq.h b/collectors/ebpf.plugin/ebpf_hardirq.h
index 52dea1e56..35b03b761 100644
--- a/collectors/ebpf.plugin/ebpf_hardirq.h
+++ b/collectors/ebpf.plugin/ebpf_hardirq.h
@@ -3,6 +3,9 @@
#ifndef NETDATA_EBPF_HARDIRQ_H
#define NETDATA_EBPF_HARDIRQ_H 1
+// Module description
+#define NETDATA_EBPF_HARDIRQ_MODULE_DESC "Show time spent servicing individual hardware interrupt requests (hard IRQs)."
+
#include <stdint.h>
#include "libnetdata/avl/avl.h"
@@ -34,6 +37,11 @@ enum hardirq_ebpf_static {
HARDIRQ_EBPF_STATIC_END
};
+enum hardirq_maps {
+ HARDIRQ_MAP_LATENCY,
+ HARDIRQ_MAP_LATENCY_STATIC
+};
+
typedef struct hardirq_ebpf_static_val {
uint64_t latency;
uint64_t ts;