Project

General

Profile

Actions

Bug #618

closed

lttng add-context does not work as advertised

Added by Daniel U. Thibault over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
08/13/2013
Due date:
% Done:

100%

Estimated time:

Description

As soon as named channels have been created, you can no longer add context to all channels:

$ lttng add-context --help
usage: lttng add-context -t TYPE [-k|-u] [OPTIONS]

If no channel is given (-c), the context is added to
all channels.

Otherwise the context is added only to the channel (-c).
[...]
$ lttng create toy
Session toy created.
Traces will be written in /home/daniel/lttng-traces/toy-20130813-162958
$ lttng enable-channel -k ch2
Kernel channel ch2 enabled for session toy
$ lttng enable-channel -k ch1
Kernel channel ch1 enabled for session toy
$ lttng add-context -k -t prio
Error: prio: Non-default channel exists within session: channel name needs to be specified with '-c name'
Warning: Some command(s) went wrong
Actions #1

Updated by David Goulet over 10 years ago

  • Status changed from New to Confirmed
Actions #2

Updated by David Goulet over 10 years ago

  • Project changed from LTTng to LTTng-tools
Actions #3

Updated by Mathieu Desnoyers over 10 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF