diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-625A116D-185D-57A3-9FB7-B8257F4AB1B2.dita --- a/Symbian3/PDK/Source/GUID-625A116D-185D-57A3-9FB7-B8257F4AB1B2.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-625A116D-185D-57A3-9FB7-B8257F4AB1B2.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,53 +1,53 @@ - - - - - -Setting -Trace Filters TutorialExplains how to use the kernel trace tool API to filter trace data. -
Purpose

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.

-
Intended audience

This document is intended for -third party developers writing a trace tool using the kernel trace tool component.

-
Required background

The trace filters defined in EUser. -The kernel trace tool component in general.

-
Introduction

Setting trace filters is a short task -which is performed in combination with related tasks as explained in Kernel Trace Tool Tutorial.

-
Using Kernel Trace tool to set trace filters

The -following tasks will be covered in this tutorial:

    -
  • Setting trace filters.

  • -
-
Basic procedure

The high level steps to setting -trace filters are shown here:

    -
  1. Set a primary filter -specifying a category of data and whether it is to be output or not.

  2. -
  3. Set a secondary filter -if necessary.

  4. -
-
Using the API

These are the function calls required -to

    -
  1. 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.

    • -
  2. -
  3. If you need a secondary -trace filter, call the SetFilter2() function of the RBTrace object.

  4. -
-
- -Kernel Trace -Tool Overview -Kernel Trace -Tool Tutorial + + + + + +Setting +Trace Filters TutorialExplains how to use the kernel trace tool API to filter trace data. +
Purpose

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.

+
Intended audience

This document is intended for +third party developers writing a trace tool using the kernel trace tool component.

+
Required background

The trace filters defined in EUser. +The kernel trace tool component in general.

+
Introduction

Setting trace filters is a short task +which is performed in combination with related tasks as explained in Kernel Trace Tool Tutorial.

+
Using Kernel Trace tool to set trace filters

The +following tasks will be covered in this tutorial:

    +
  • Setting trace filters.

  • +
+
Basic procedure

The high level steps to setting +trace filters are shown here:

    +
  1. Set a primary filter +specifying a category of data and whether it is to be output or not.

  2. +
  3. Set a secondary filter +if necessary.

  4. +
+
Using the API

These are the function calls required +to

    +
  1. 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.

    • +
  2. +
  3. If you need a secondary +trace filter, call the SetFilter2() function of the RBTrace object.

  4. +
+
+ +Kernel Trace +Tool Overview +Kernel Trace +Tool Tutorial
\ No newline at end of file