X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-thread.c;h=080afa53a692487d2e7bc12f29ae0bee9c932f72;hp=0248d7a0aa305a17cfba12cb8ceb60deb2266472;hb=9ad42ec1800b074488873ec43d91c73ce9c9dfcf;hpb=d7b63d8cb065085e8518e380923283884f4f31ea diff --git a/src/bin/lttng-sessiond/ust-thread.c b/src/bin/lttng-sessiond/ust-thread.c index 0248d7a0a..080afa53a 100644 --- a/src/bin/lttng-sessiond/ust-thread.c +++ b/src/bin/lttng-sessiond/ust-thread.c @@ -24,6 +24,7 @@ #include "lttng-sessiond.h" #include "ust-thread.h" #include "health-sessiond.h" +#include "testpoint.h" /* * This thread manage application notify communication. @@ -43,6 +44,10 @@ void *ust_thread_manage_notify(void *data) health_register(health_sessiond, HEALTH_SESSIOND_TYPE_APP_MANAGE_NOTIFY); + if (testpoint(sessiond_thread_app_manage_notify)) { + goto error_testpoint; + } + health_code_update(); ret = sessiond_set_thread_pollset(&events, 2); @@ -170,6 +175,7 @@ exit: error: lttng_poll_clean(&events); error_poll_create: +error_testpoint: utils_close_pipe(apps_cmd_notify_pipe); apps_cmd_notify_pipe[0] = apps_cmd_notify_pipe[1] = -1; DBG("Application notify communication apps thread cleanup complete");