summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin/ebpf_dcstat.h
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/ebpf.plugin/ebpf_dcstat.h')
-rw-r--r--collectors/ebpf.plugin/ebpf_dcstat.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/collectors/ebpf.plugin/ebpf_dcstat.h b/collectors/ebpf.plugin/ebpf_dcstat.h
index c5e6e2bc..94086473 100644
--- a/collectors/ebpf.plugin/ebpf_dcstat.h
+++ b/collectors/ebpf.plugin/ebpf_dcstat.h
@@ -42,7 +42,8 @@ enum directory_cache_indexes {
enum directory_cache_tables {
NETDATA_DCSTAT_GLOBAL_STATS,
- NETDATA_DCSTAT_PID_STATS
+ NETDATA_DCSTAT_PID_STATS,
+ NETDATA_DCSTAT_CTRL
};
// variables
@@ -55,6 +56,11 @@ enum directory_cache_counters {
NETDATA_DIRECTORY_CACHE_END
};
+enum directory_cache_targets {
+ NETDATA_DC_TARGET_LOOKUP_FAST,
+ NETDATA_DC_TARGET_D_LOOKUP
+};
+
typedef struct netdata_publish_dcstat_pid {
uint64_t cache_access;
uint64_t file_system;
@@ -73,5 +79,6 @@ extern void *ebpf_dcstat_thread(void *ptr);
extern void ebpf_dcstat_create_apps_charts(struct ebpf_module *em, void *ptr);
extern void clean_dcstat_pid_structures();
extern struct config dcstat_config;
+extern netdata_ebpf_targets_t dc_targets[];
#endif // NETDATA_EBPF_DCSTAT_H