Actions
Feature #630
closed'lttng list session_name' should list the filters attached to the events
Start date:
09/11/2013
Due date:
% Done:
0%
Estimated time:
Description
Right now, once a filter is attached to an event you can't later get lttng list
to tell you what the filter is.
$ lttng enable-event -u -c ch0 sample:ev* --filter "intfield < 500" Filter 'intfield < 500' successfully set $ lttng list z Tracing session z: [inactive] [...] Events: sample:ev* (type: tracepoint) [enabled] [with filter]
It should be a simple matter to change the list
display to this:
$ lttng list z Tracing session z: [inactive] [...] Events: sample:ev* (type: tracepoint) [enabled] [with filter 'intfield < 500']
Updated by David Goulet almost 11 years ago
- Status changed from New to Confirmed
- Priority changed from Low to Normal
- Target version deleted (
2.4)
Updated by Jonathan Rajotte Julien over 8 years ago
- Status changed from Confirmed to Resolved
Starting from 2.8 the filter expression is available on the command line and the mi.
E.g
Buffer type: per UID Channels: ------------- - channel0: [enabled] Attributes: overwrite mode: 0 subbufers size: 131072 number of subbufers: 4 switch timer interval: 0 read timer interval: 0 trace file count: 0 trace file size (bytes): 0 discarded events: 0 lost packets: 0 output: mmap() Events: * (type: tracepoint) [enabled] [filter: 'test']
<events> <event> <name>*</name> <type>TRACEPOINT</type> <enabled>true</enabled> <filter_expression>test</filter_expression> <exclusions/> </event> </events> Cheers
Actions