From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Wed, 20 Apr 2016 11:19:56 -0400 Subject: [lttng-dev] [PATCH lttng-tools 0/4] Allow discard buffers in snapshot sessions Message-ID: <1461165600-17288-1-git-send-email-mathieu.desnoyers@efficios.com> This patchset allows users to override the channel mode (discard/overwrite) for snapshot sessions for both lttng-ust and lttng kernel tracing. Previously, snapshot sessions were enforcing overwrite buffer types. Thanks, Mathieu Mathieu Desnoyers (4): Fix: validate number of subbuffers after tweaking properties Allow channel mode override in snapshot sessions tests: test kernel snapshot with discard buffers tests: test ust snapshot with discard buffers include/lttng/channel.h | 2 +- src/bin/lttng-sessiond/channel.c | 55 +++++++++- src/bin/lttng-sessiond/cmd.c | 10 -- src/bin/lttng/commands/create.c | 2 +- src/common/defaults.h | 2 +- tests/regression/tools/snapshots/test_kernel | 94 ++++++++++++++++- tests/regression/tools/snapshots/ust_test | 150 ++++++++++++++++++++++++++- tests/utils/utils.sh | 30 ++++++ 8 files changed, 321 insertions(+), 24 deletions(-) -- 2.1.4