Project

General

Profile

Actions

Feature #108

closed

Missing information in list command output

Added by Bernd Hufmann about 13 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/24/2012
Due date:
% Done:

0%

Estimated time:

Description

The command "lttng enable-event" allows to enable events for one loglevel or for a range of loglevels. However, the "lttng list session"-command doens't show what is actually enabled. It should be clear if a single loglevel is enabled or a range.

Consider the two commands:

lttng enable-event a* -u --loglevel TRACE_DEBUG_LINE
lttng enable-event b* -u --loglevel-only TRACE_DEBUG_LINE

For both commands the output shows basically the same information. For the first one it doesn't show that the events are enabled for a range. This needs to be improved.

lttng list my

Tracing session my: [inactive]
Trace path: /home/user/lttng-traces/my-20120224-135914

=== Domain: UST global ===

Channels:
-------------
- channel0: [enabled]

Attributes:
overwrite mode: 0
subbufers size: 4096
number of subbufers: 4
switch timer interval: 0
read timer interval: 200
output: mmap()
Events:
a* (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint) [enabled]
b* (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint) [enabled]

I used the commit aeb968923d1245f4cb2be1eed2ab7b8b5eb45cf8

Actions

Also available in: Atom PDF