]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add boiler plate for subsystem filter
authorSteven Rostedt <srostedt@redhat.com>
Wed, 2 Nov 2011 20:46:46 +0000 (16:46 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 5 Nov 2011 01:25:36 +0000 (21:25 -0400)
commit68346b123a767ad5adc1880f312375957529a0f3
tree261edda11ab8893c6b565561bb1c69cc714fca6c
parent137e481944273506999b28de071dee47eb45daac
tracing: Add boiler plate for subsystem filter

The system filter can be used to set multiple event filters that
exist within the system. But currently it displays the last filter
written that does not necessarily correspond to the filters within
the system. The system filter itself is not used to filter any events.
The system filter is just a means to set filters of the events within
it.

Because this causes an ambiguous state when the system filter reads
a filter string but the events within the system have different strings
it is best to just show a boiler plate:

 ### global filter ###
 # Use this to set filters for multiple events.
 # Only events with the given fields will be affected.
 # If no events are modified, an error message will be displayed here.

If an error occurs while writing to the system filter, the system
filter will replace the boiler plate with the error message as it
currently does.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c