Scripting modules that adds filtering capabilities to Trace Compass scripting.
With this module, a script can create a complex query from the trace data and then call the .applyGlobalFilter(String) method to apply the filter on all views of Trace Compass.
This module also contains helper methods that transform a simple query, but that may not be easily understandable by Trace Compass, into a complex one that will return a maximum of results.
This requires the Trace Compass Filters (Incubation)
feature to
be installed.
Method | Description |
---|---|
applyGlobalFilter() | Apply a global filter to the currently active trace |
clearGlobalFilters() | Remove all global filters |
filterByThreadName() | Apply a global filter to all Trace Compass views on the threads whose name contains the name in parameter. |
void applyGlobalFilter(String regex)
Apply a global filter to the currently active trace
void filterByThreadName(String name)
Apply a global filter to all Trace Compass views on the threads whose name contains the name in parameter.