Fix ust app session started state on start trace
authorDavid Goulet <dgoulet@efficios.com>
Wed, 15 Feb 2012 16:29:16 +0000 (11:29 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 15 Feb 2012 16:29:16 +0000 (11:29 -0500)
commitf848c3eb8a294665ea333a0d5244bd5adba8277c
treeca65c22382fecce7b130c08dc9942fbf0099ddbf
parent9bc07046c0e2a572eb3821e276949537614f74e0
Fix ust app session started state on start trace

The started flag must be set as soon as possible in the start trace
function since if the start fails, it is still consider started for the
code logic.

Added one test to validate the restart tracing in UST.

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