• Steven Rostedt's avatar
    tracing: Add boiler plate for subsystem filter · 49aa2951
    Steven Rostedt authored
    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: default avatarSteven Rostedt <rostedt@goodmis.org>
    49aa2951
trace_events_filter.c 46.4 KB