lttng-sessiond: keep enabled/active state for sessions, cleanup enabled state for...
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Nov 2011 00:15:18 +0000 (19:15 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Nov 2011 00:15:18 +0000 (19:15 -0500)
commit464dd62d5617322366e321877b440951e00a0152
tree9dcfdbb4c5349a8fa0164913190f851c1c9f4286
parent5450ed5091dd727e58b412b6b9a6cb94ae74b609
lttng-sessiond: keep enabled/active state for sessions, cleanup enabled state for events/channels

allows

lttng list
Available tracing sessions:
  1) test1 (/root/lttng-traces/test1-20111115-191312) [inactive]
  2) test2 (/root/lttng-traces/test2-20111115-191310) [active]

and

root@thinkos:~# lttng list test2
Tracing session test2: [active]
    Trace path: /root/lttng-traces/test2-20111115-191502

When events/channels/sessions enabled state is set to -1, show an empty
string instead of the meaningless "[enabled: -1]".

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/lttng.h
lttng-sessiond/main.c
lttng-sessiond/session.h
lttng/commands/list.c
This page took 0.034492 seconds and 4 git commands to generate.