Project

General

Profile

Bug #988

lttng -q option not functional

Added by john smith over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Low
Target version:
Start date:
01/10/2016
Due date:
% Done:

100%

Estimated time:

Description

lttng -q (quiet) option doesn't work for stop, destroy, view commands (didn't test the rest of commands):
$ lttng -V
lttng (LTTng Trace Control) 2.7.0 - Herbe à Détourne

$ lttng stop x
Error: Session name not found
$ lttng -q stop x
Error: Session name not found

$ lttng destroy x
Error: Session name x not found
$ lttng -q destroy x
Error: Session name x not found

$ lttng create
Session auto-20160110-113725 created.
Traces will be written in /home/john/lttng-traces/auto-20160110-113725

$ lttng enable-event -a -u
All UST events are enabled in channel channel0
$ lttng start
Tracing started for session auto-20160110-113725
$ lttng stop
Waiting for data availability
Tracing stopped for session auto-20160110-113725
$ lttng view
Trace directory: /home/john/lttng-traces/auto-20160110-113725
[error] Cannot open any trace for reading.
[error] opening trace "/home/john/lttng-traces/auto-20160110-113725" for reading.
[error] none of the specified trace paths could be opened.

$ lttng -q view
[error] Cannot open any trace for reading.
[error] opening trace "/home/john/lttng-traces/auto-20160110-113725" for reading.
[error] none of the specified trace paths could be opened.

Also available in: Atom PDF