Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] [PATCH lttng-tools 0/4] Allow discard buffers in snapshot sessions
Date: Wed, 20 Apr 2016 11:19:56 -0400	[thread overview]
Message-ID: <1461165600-17288-1-git-send-email-mathieu.desnoyers@efficios.com> (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



             reply	other threads:[~2016-04-20 15:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20 15:19 Mathieu Desnoyers [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461165600-17288-1-git-send-email-mathieu.desnoyers@efficios.com \
    --to=mathieu.desnoyers@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox