Fix: change health poll update to entry/exit calls
authorDavid Goulet <dgoulet@efficios.com>
Wed, 30 Jan 2013 16:08:54 +0000 (11:08 -0500)
committerDavid Goulet <dgoulet@ev0ke.net>
Wed, 30 Jan 2013 21:22:01 +0000 (16:22 -0500)
commit4e53a12fd2d1fb15f8ed6db2948b27a9714c0b2f
tree2ddc00a966145cf92c30464b9f9d03f2a05b8973
parent0ee3f1e31308438dca89a4b330f12414181f26dd
Fix: change health poll update to entry/exit calls

It adds a better semantic to the code flow. Furthermore, the current
counter of the health state is now validated raising an assert() if the
value is unexepected.

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/health.h
src/bin/lttng-sessiond/main.c
This page took 0.024377 seconds and 4 git commands to generate.