Project

General

Profile

Actions

Bug #456

closed

lttng list unaware of enable-consumer settings

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

Status:
Won't fix
Priority:
Normal
Assignee:
-
Target version:
Start date:
02/20/2013
Due date:
% Done:

0%

Estimated time:

Description

$ sudo -H lttng create session1
Session session1 created.
Traces will be written in /root/lttng-traces/session1-20130220-104535
$ sudo -H lttng enable-consumer /home/daniel/lttng-traces/s1
URL /home/daniel/lttng-traces/s1 set for kernel session session1.
Consumer enabled successfully
URL /home/daniel/lttng-traces/s1 set for UST session session1.
Consumer enabled successfully
$ sudo -H lttng list session1Tracing session session1: [inactive]
    Trace path: /root/lttng-traces/session1-20130220-104535

=== Domain: Kernel ===

Warning: No kernel channel
=== Domain: UST global ===

Error: UST channel not found

The lttng list command reports the initial default output folder (which in this case won't even exist) instead of the actual one set up by enable-consumer (and which has already been created).

Note also how a lack of kernel events yields a warning while the same lack in the userspace domain yields an error (however, this is probably the result of this trace being set up in root's userspace).

Actions

Also available in: Atom PDF