X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer-timer.c;h=02b7b3a49cd9ae81000a4e93c0f0d22b87d32b06;hb=584fc280d529740882a24c87a431e547b5acf8e0;hp=2687eaffd7d556bd00686737a8190d883621979e;hpb=5cc6b3e418571a252a05f4e2b66746a8f3c485ec;p=lttng-tools.git diff --git a/src/common/consumer-timer.c b/src/common/consumer-timer.c index 2687eaffd..02b7b3a49 100644 --- a/src/common/consumer-timer.c +++ b/src/common/consumer-timer.c @@ -554,6 +554,8 @@ void *consumer_timer_thread(void *data) siginfo_t info; struct lttng_consumer_local_data *ctx = data; + rcu_register_thread(); + health_register(health_consumerd, HEALTH_CONSUMERD_TYPE_METADATA_TIMER); if (testpoint(consumerd_thread_metadata_timer)) { @@ -596,6 +598,8 @@ error_testpoint: health_error(); health_unregister(health_consumerd); + rcu_unregister_thread(); + /* Never return */ return NULL; }