Feature #334
closedDisplay configured filter
0%
Description
LTTng Tools 2.1.0 offers the ability to configure filter when enabling events. It currently displays only that a filter is configured for command "lttng list <session>". It would be beneficial also to display the actual filter expression in the command output instead of displaying only [with filter].
Updated by David Goulet over 10 years ago
- Status changed from New to Confirmed
- Target version set to 2.2
Since we are in RC mode right now for 2.1.x, I am tagging this feature request for 2.2.
Thanks
Updated by Christian Babeux almost 9 years ago
- Assignee set to David Goulet
- Target version set to 2.5
Updated by David Goulet almost 9 years ago
- Assignee deleted (
David Goulet) - Priority changed from Normal to Low
- Target version changed from 2.5 to 2.6
I'm moving this feature for 2.6 unfortunately.
We are quite close to the rc1 of 2.5 and I feel uncomfortable adding this right now since it requires a lot of code and adding stuff to the public ABI/API. I usually prefer changes on the API done way before so people can play with it and we can make adjustment instead of rushing it.
I've started a branch containing some code for the feature but it's not working at all for now.
Updated by Jonathan Rajotte over 8 years ago
Just let me know when this is slowly getting to work. I'll match the MI as soon as possible. Don't hesitate to open a bug and assign it to.
Updated by Jérémie Galarneau over 7 years ago
- Target version changed from 2.6 to 2.8
Updated by Jonathan Rajotte Julien almost 7 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