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.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/collectors/ebpf.plugin/ebpf_hardirq.h b/collectors/ebpf.plugin/ebpf_hardirq.h
index fe38b1bb..52dea1e5 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
+#include <stdint.h>
+#include "libnetdata/avl/avl.h"
+
/*****************************************************************
* copied from kernel-collectors repo, with modifications needed
* for inclusion here.
@@ -15,12 +18,6 @@ typedef struct hardirq_ebpf_key {
int irq;
} hardirq_ebpf_key_t;
-typedef struct hardirq_ebpf_val {
- uint64_t latency;
- uint64_t ts;
- char name[NETDATA_HARDIRQ_NAME_LEN];
-} hardirq_ebpf_val_t;
-
enum hardirq_ebpf_static {
HARDIRQ_EBPF_STATIC_APIC_THERMAL,
HARDIRQ_EBPF_STATIC_APIC_THRESHOLD,
@@ -46,6 +43,9 @@ typedef struct hardirq_ebpf_static_val {
* below this is eBPF plugin-specific code.
*****************************************************************/
+// ARAL Name
+#define NETDATA_EBPF_HARDIRQ_ARAL_NAME "ebpf_harddirq"
+
#define NETDATA_EBPF_MODULE_NAME_HARDIRQ "hardirq"
#define NETDATA_HARDIRQ_CONFIG_FILE "hardirq.conf"