Feature #108
closedMissing information in list command output
0%
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