diff options
Diffstat (limited to '')
-rw-r--r-- | src/collectors/ebpf.plugin/ebpf_hardirq.h (renamed from collectors/ebpf.plugin/ebpf_hardirq.h) | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/collectors/ebpf.plugin/ebpf_hardirq.h b/src/collectors/ebpf.plugin/ebpf_hardirq.h index 35b03b761..fbecac873 100644 --- a/collectors/ebpf.plugin/ebpf_hardirq.h +++ b/src/collectors/ebpf.plugin/ebpf_hardirq.h @@ -47,6 +47,7 @@ typedef struct hardirq_ebpf_static_val { uint64_t ts; } hardirq_ebpf_static_val_t; + /***************************************************************** * below this is eBPF plugin-specific code. *****************************************************************/ @@ -74,6 +75,8 @@ typedef struct hardirq_static_val { uint64_t latency; } hardirq_static_val_t; +#define NETDATA_EBPF_SYSTEM_HARDIRQ_LATENCY_CTX "system.hardirq_latency" + extern struct config hardirq_config; void *ebpf_hardirq_thread(void *ptr); |