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 10 years ago. Updated over 10 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

Also available in: Atom PDF