Project

General

Profile

Actions

Bug #995

closed

cannot enable discard-mode channels in snapshot sessions

Added by Julien Desfossez almost 9 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
02/02/2016
Due date:
% Done:

0%

Estimated time:

Description

If we create a snapshot session and manually enable a channel (kernel or UST) in discard mode, the --discard option is ignored and the channel stays in --overwrite mode.
The user should be able to configure a channel in discard mode even for snapshot sessions. At least a warning should be output.

To reproduce:
$ lttng create --snapshot
$ lttng enable-channel -k b --discard
$ lttng list auto-20160202-102617 === Domain: Kernel ===

Channels:
-------------
- b: [enabled]

Attributes:
overwrite mode: 1
[...]
Actions #1

Updated by Jérémie Galarneau over 8 years ago

  • Status changed from New to Confirmed
  • Target version set to 2.9

Addressed by this patch-set, which is scheduled for inclusion in 2.9:

Actions #2

Updated by Jonathan Rajotte Julien over 7 years ago

  • Status changed from Confirmed to Resolved

Merged as commits:

da9d9d9c356b75f54a55b6691759269d5ebfd5cf
8d5841ea483139d3ab2f2b4dd39263dad63832b1
086e6add1bf22aa48ef5a3c3e800eea7020a1fed
ae779dd69a75dafa1d38bfb7c8de9279257106ba

Cheers

Actions

Also available in: Atom PDF