X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fmain.c;h=789e3300abc1e33a604a5d5aa78ffc816ae3ce4d;hp=62e149ed2cbdaf574968cbbe93659c48c8907db3;hb=0b242f6253f75bd4a2d138fba3c34a22653ab3bd;hpb=fb4d42ab5ddb624b0a1059fbd88bd9f90290971f diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index 62e149ed2..789e3300a 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -90,7 +90,7 @@ const char * const config_section_name = "relayd"; * Quit pipe for all threads. This permits a single cancellation point * for all threads when receiving an event on the pipe. */ -static int thread_quit_pipe[2] = { -1, -1 }; +int thread_quit_pipe[2] = { -1, -1 }; /* * This pipe is used to inform the worker thread that a command is queued and @@ -2998,7 +2998,7 @@ int main(int argc, char **argv) goto exit_listener; } - ret = live_start_threads(live_uri, relay_ctx, thread_quit_pipe); + ret = live_start_threads(live_uri, relay_ctx); if (ret != 0) { ERR("Starting live viewer threads"); goto exit_live;