Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] [PATCH lttng-tools 0/4] Allow discard buffers in snapshot sessions
@ 2016-04-20 15:19 Mathieu Desnoyers
  2016-04-20 15:19 ` [lttng-dev] [PATCH lttng-tools 1/4] Fix: validate number of subbuffers after tweaking properties Mathieu Desnoyers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mathieu Desnoyers @ 2016-04-20 15:19 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-20 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-20 15:19 [lttng-dev] [PATCH lttng-tools 0/4] Allow discard buffers in snapshot sessions Mathieu Desnoyers
2016-04-20 15:19 ` [lttng-dev] [PATCH lttng-tools 1/4] Fix: validate number of subbuffers after tweaking properties Mathieu Desnoyers
2016-04-20 15:19 ` [lttng-dev] [PATCH lttng-tools 2/4] Allow channel mode override in snapshot sessions Mathieu Desnoyers
2016-04-20 15:19 ` [lttng-dev] [PATCH lttng-tools 3/4] tests: test kernel snapshot with discard buffers Mathieu Desnoyers
2016-04-20 15:20 ` [lttng-dev] [PATCH lttng-tools 4/4] tests: test ust " Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox