static_threads_macos.c 811 B

12345678910111213141516171819202122232425262728293031
  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. #include "common.h"
  3. extern void *macos_main(void *ptr);
  4. const struct netdata_static_thread static_threads_macos[] = {
  5. {
  6. .name = "PLUGIN[macos]",
  7. .config_section = CONFIG_SECTION_PLUGINS,
  8. .config_name = "macos",
  9. .enabled = 1,
  10. .thread = NULL,
  11. .init_routine = NULL,
  12. .start_routine = macos_main
  13. },
  14. {NULL, NULL, NULL, 0, NULL, NULL, NULL}
  15. };
  16. const struct netdata_static_thread static_threads_freebsd[] = {
  17. {NULL, NULL, NULL, 0, NULL, NULL, NULL}
  18. };
  19. const struct netdata_static_thread static_threads_linux[] = {
  20. {NULL, NULL, NULL, 0, NULL, NULL, NULL}
  21. };
  22. struct netdata_static_thread *static_threads_get() {
  23. return static_threads_concat(static_threads_common, static_threads_macos);
  24. }