Allow channel mode override in snapshot sessions
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Apr 2016 22:08:44 +0000 (18:08 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 Apr 2016 16:34:06 +0000 (12:34 -0400)
commit295fe8406df7bc2789fafc3eabb477bccd66e3cc
tree3aea8502553c8e22d906ad3578e3f807f108b85b
parentcae8f14ffe396929e752d7dd800ad1ace290fb9f
Allow channel mode override in snapshot sessions

Allow the lttng cmd line and liblttng-ctl users to override the channel
mode in snapshot sessions.

Note that liblttng-ctl users expecting that an "overwrite" mode
explicitly set at the value "0" (discard) for a snapshot session will
now create a channel in discard mode.

The DEFAULT_CHANNEL_OVERWRITE used by liblttng-ctl
lttng_channel_set_default_attr() is changed to "-1".

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/channel.h
src/bin/lttng-sessiond/channel.c
src/bin/lttng/commands/create.c
src/common/defaults.h
This page took 0.030964 seconds and 5 git commands to generate.