Project

General

Profile

Actions

Bug #634

closed

snapshot add-output does not report the default name of the output set

Added by Daniel U. Thibault over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
09/18/2013
Due date:
% Done:

100%

Estimated time:

Description

Consider this:

$ lttng create session --snapshot
Session session created.
Default snapshot output set to: /home/username/lttng-traces/session-20130917-163254
Snapshot mode set. Every channel enabled for that session will be set in overwrite mode and mmap output.
$ lttng snapshot list-output
Snapshot output list for session session
    [1] snapshot-1: /home/username/lttng-traces/session-20130917-163254
$ lttng snapshot del-output 1
Snapshot output id 1 successfully deleted for session session
$ lttng snapshot list-output
Snapshot output list for session session
    None
$ lttng snapshot add-output ~/lttng-traces/session
Snapshot output successfully added for session session
  [2] : /home/username/lttng-traces/session (max-size: -1)
$ lttng snapshot list-output
Snapshot output list for session session
    [2] snapshot-2: /home/username/lttng-traces/session

What the user was expecting is:

[...]
$ lttng snapshot add-output ~/lttng-traces/session
Snapshot output successfully added for session session
  [2] snapshot-2: /home/username/lttng-traces/session (max-size: -1)
$ lttng snapshot list-output
Snapshot output list for session session
    [2] snapshot-2: /home/username/lttng-traces/session
Actions #1

Updated by David Goulet about 11 years ago

  • Status changed from New to Confirmed
  • Assignee set to David Goulet
Actions #2

Updated by David Goulet about 11 years ago

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

Also available in: Atom PDF