From ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 20 Jul 2023 06:49:55 +0200 Subject: Adding upstream version 1.41.0. Signed-off-by: Daniel Baumann --- daemon/static_threads.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'daemon/static_threads.c') diff --git a/daemon/static_threads.c b/daemon/static_threads.c index fe83945cf..4ee2a4668 100644 --- a/daemon/static_threads.c +++ b/daemon/static_threads.c @@ -13,6 +13,7 @@ void *pluginsd_main(void *ptr); void *service_main(void *ptr); void *statsd_main(void *ptr); void *timex_main(void *ptr); +void *profile_main(void *ptr); void *replication_thread_main(void *ptr __maybe_unused); extern bool global_statistics_enabled; @@ -142,15 +143,15 @@ const struct netdata_static_thread static_threads_common[] = { .start_routine = socket_listen_main_static_threaded }, -#ifdef ENABLE_HTTPD +#ifdef ENABLE_H2O { - .name = "httpd", + .name = "h2o", .config_section = NULL, .config_name = NULL, .enabled = 0, .thread = NULL, .init_routine = NULL, - .start_routine = httpd_main + .start_routine = h2o_main }, #endif @@ -185,6 +186,15 @@ const struct netdata_static_thread static_threads_common[] = { .init_routine = NULL, .start_routine = replication_thread_main }, + { + .name = "P[PROFILE]", + .config_section = CONFIG_SECTION_PLUGINS, + .config_name = "profile", + .enabled = 0, + .thread = NULL, + .init_routine = NULL, + .start_routine = profile_main + }, // terminator { -- cgit v1.2.3