Change SIGCHLD to SIGUSR1 when lttng waiting on sessiond
authorDavid Goulet <dgoulet@efficios.com>
Mon, 23 Jan 2012 19:12:46 +0000 (14:12 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 23 Jan 2012 19:12:46 +0000 (14:12 -0500)
commit8db8d1dc9f11aa7995b2f77bb938f2585005413c
tree7d5f58f5ec678836db3ef24db64b420734fc6c6d
parent5df0f285b2f2f9903e13cf6e48046d13a6c4c727
Change SIGCHLD to SIGUSR1 when lttng waiting on sessiond

Using lttng cli, if the session daemon dies after exec(), a SIGCHLD is
returned. It was catched but not handled to cleanly quit and inform the
user that the session daemon failed.

We now use SIGUSR1 to signal the lttng cli that the session daemon is
ready to receive command.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c
src/bin/lttng/lttng.c
This page took 0.025141 seconds and 4 git commands to generate.