Project

General

Profile

Actions

Bug #1025

open

lttng load [--all] issues misleading message when there are no sessions to load

Added by Daniel U. Thibault over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
06/14/2016
Due date:
% Done:

0%

Estimated time:

Description

On a system where no LTTng sessions have yet been saved, you have this:

$ lttng load --all
All sessions have been loaded successfully
$ lttng list
Currently no available tracing session

The lttng load response is misleading because nothing has been loaded. lttng load [--all] should detect the no-saved-sessions case and respond by stating 'Found no tracing sessions to load'. This should probably return error code 4 (command warning) as well.

No data to display

Actions

Also available in: Atom PDF