master
c 33 lines 858 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #include "common.h"
4
5 void freebsd_main(void *ptr);
6 void timex_main(void *ptr);
7
8 static const struct netdata_static_thread static_threads_freebsd[] = {
9 {
10 .name = "P[freebsd]",
11 .config_section = CONFIG_SECTION_PLUGINS,
12 .config_name = "freebsd",
13 .enabled = 1,
14 .thread = NULL,
15 .init_routine = NULL,
16 .start_routine = freebsd_main
17 },
18 {
19 .name = "P[timex]",
20 .config_section = CONFIG_SECTION_PLUGINS,
21 .config_name = "timex",
22 .enabled = 1,
23 .thread = NULL,
24 .init_routine = NULL,
25 .start_routine = timex_main
26 },
27
28 {NULL, NULL, NULL, 0, NULL, NULL, NULL}
29 };
30
31 struct netdata_static_thread *static_threads_get() {
32 return static_threads_concat(static_threads_common, static_threads_freebsd);
33 }