Explains how to use the kernel trace tool API to filter trace data.
Trace data is written to kernel side chunks. The kernel trace tool API can specify which trace data should be made available for further processing by setting filters.
This document is intended for third party developers writing a trace tool using the kernel trace tool component.
Setting trace filters is a short task which is performed in combination with related tasks as explained in Kernel Trace Tool Tutorial.
These are the function calls required to
Call the SetFilter() function of the RBTrace object. This function takes two arguments:
An integer representing the trace category taken from the enumeration BTrace::TCategories, and
A boolean, True if the trace category is to be output and False if it is not.
If you need a secondary trace filter, call the SetFilter2() function of the RBTrace object.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.