The tracelogger utility gives you some basic control over filtering by way of its -F option. This filtering is limited to excluding entire classes of events at a time; if you need a finer granularity, you'll need to use TraceEvent(), as described in the Filtering chapter in this guide.
By default, tracelogger captures all events from all classes, but you can disable the tracing of events from the classes as follows:
To disable this class: | Specify: |
---|---|
Kernel calls | -F1 |
Interrupt | -F2 |
Process | -F3 |
Thread | -F4 |
Virtual thread | -F5 |
Communication | -F6 |
System | -F7 |
You can specify more than one filter by using multiple -F options. Note that you can't disable the Control or User classes with this option. For more information about classes, see the Events and the Kernel chapter of this guide.