summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin/ebpf_sync.h
blob: bec7a428a846bb86b10765ce1521d14124f1646d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef NETDATA_EBPF_SYNC_H
#define NETDATA_EBPF_SYNC_H 1

// charts
#define NETDATA_EBPF_SYNC_CHART "sync"
#define NETDATA_EBPF_SYNC_SUBMENU "synchronization (eBPF)"

#define NETDATA_EBPF_SYNC_SLEEP_MS 800000ULL

// configuration file
#define NETDATA_SYNC_CONFIG_FILE "sync.conf"

enum netdata_sync_charts {
    NETDATA_SYNC_CALL,

    // Keep this as last and don't skip numbers as it is used as element counter
    NETDATA_SYNC_END
};

enum netdata_sync_table {
    NETDATA_SYNC_GLOBLAL_TABLE
};

extern void *ebpf_sync_thread(void *ptr);

#endif /* NETDATA_EBPF_SYNC_H */