Fix: consumerd errors on exit
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Feb 2014 15:14:46 +0000 (10:14 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 21 Feb 2014 15:22:41 +0000 (15:22 +0000)
commit84382d49b1e8a17037d0415d84f1c9e250163494
treee651aca4915ec9319bcfe5c502cbf6e7873062f3
parent8ab7c0d9aa6d5dd0289a8ebc42b743ff0ac649c6
Fix: consumerd errors on exit

- The LTTNG_CONSUMER_STOP command is not used by sessiond anymore, so
  deprecate it,
- Ensure that the normal teardown (with signal handler) does not trigger
  a health error in consumer daemon by distinguishing between errors and
  "should exit" with different lttng_consumer_poll_socket() return values.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c
src/common/consumer.h
src/common/kernel-consumer/kernel-consumer.c
src/common/ust-consumer/ust-consumer.c
This page took 0.026147 seconds and 4 git commands to generate.