diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-07-20 04:50:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-07-20 04:50:01 +0000 |
commit | cd4377fab21e0f500bef7f06543fa848a039c1e0 (patch) | |
tree | ba00a55e430c052d6bed0b61c0f8bbe8ebedd313 /daemon/static_threads.c | |
parent | Releasing debian version 1.40.1-1. (diff) | |
download | netdata-cd4377fab21e0f500bef7f06543fa848a039c1e0.tar.xz netdata-cd4377fab21e0f500bef7f06543fa848a039c1e0.zip |
Merging upstream version 1.41.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'daemon/static_threads.c')
-rw-r--r-- | daemon/static_threads.c | 16 |
1 files changed, 13 insertions, 3 deletions
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 { |