X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-consumerd%2Fhealth-consumerd.cpp;h=fe2f6d22c5d43192440120f04368bac06ef079bb;hb=1970828049d051d5cb485dfab995081b4550fd2a;hp=90b4b1e12439eb9dcc34a265c20c37a3608668ce;hpb=657d1bf105996bf8f6e13af697fb1112afa61b28;p=lttng-tools.git diff --git a/src/bin/lttng-consumerd/health-consumerd.cpp b/src/bin/lttng-consumerd/health-consumerd.cpp index 90b4b1e12..fe2f6d22c 100644 --- a/src/bin/lttng-consumerd/health-consumerd.cpp +++ b/src/bin/lttng-consumerd/health-consumerd.cpp @@ -144,7 +144,7 @@ end: /* * Thread managing health check socket. */ -void *thread_manage_health(void *data) +void *thread_manage_health_consumerd(void *data) { int sock = -1, new_sock = -1, ret, i, pollfd, err = -1; uint32_t revents, nb_fd; @@ -210,7 +210,7 @@ void *thread_manage_health(void *data) goto error; } - /* Size is set to 1 for the consumer_channel pipe */ + /* Size is set to 2 for the quit pipe and registration socket. */ ret = lttng_poll_create(&events, 2, LTTNG_CLOEXEC); if (ret < 0) { ERR("Poll set creation failed");