blob: a21e5601de13faed21661b7ca51d76f2283640ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef NETDATA_PLUGIN_MACOS_H
#define NETDATA_PLUGIN_MACOS_H 1
void *macos_main(void *ptr);
#define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var))
extern int getsysctl(const char *name, void *ptr, size_t len);
extern int do_macos_sysctl(int update_every, usec_t dt);
extern int do_macos_mach_smi(int update_every, usec_t dt);
extern int do_macos_iokit(int update_every, usec_t dt);
#endif /* NETDATA_PLUGIN_MACOS_H */
|