History | View | Annotate | Download (3.4 kB)
trace: Provide a detailed event control interface
This interface decouples event obtaining from interaction.
Events can be obtained through three different methods:
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>...
trace: allow disabling events in events file
Disable trace events prefixed with a '-'. Usefulto enable a group of tracepoints with exceptions,like this:
usb_xhci_port_* -usb_xhci_port_read
which will enable all xhci port tracepoints except reads....
trace: added ability to comment out events in the list
It is convenient for debug to be able to switch on/off some events easily.The only possibility now is to remove event name from the file completelyand type it again when we want it back.
The patch adds '#' symbol handling as a comment specifier....
trace: add "-trace events" argument to control initial state
The "-trace events" argument can be used to provide a file with a list of traceevent names that will be enabled prior to starting execution, thus providingearly tracing.
This saves the user from manually toggling event states through the monitor...