[lttng-dev] [PATCH lttng-tools 0/4] Allow discard buffers in snapshot sessions

Jérémie Galarneau jeremie.galarneau at efficios.com
Fri Jun 17 22:16:20 UTC 2016


Merged in master, with the fix backported to stable-2.8 and stable-2.7.

Thanks!
Jérémie

On Wed, Apr 20, 2016 at 11:19 AM, Mathieu Desnoyers
<mathieu.desnoyers at efficios.com> wrote:
> 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
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list