[lttng-dev] [PATCH lttng-tools 0/4] Allow discard buffers in snapshot sessions
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Wed Apr 20 15:19:56 UTC 2016
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
More information about the lttng-dev
mailing list