|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
2 <html> |
|
3 <head> |
|
4 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> |
|
5 <title>Rules and filtering</title> |
|
6 <link href="../../book.css" type="text/css" rel="stylesheet"></head> |
|
7 <body> |
|
8 |
|
9 <h2>Rules and filtering</h2> |
|
10 <p>In order to manipulate the generated trace data, you can specify various |
|
11 types of rules and filters, depending on what you want to find out.</p> |
|
12 <p>Usually, the criteria for the rules is defined to match the trace with |
|
13 any of the following prerequisites:</p> |
|
14 <ul> |
|
15 <li>a certain component ID</li> |
|
16 <li>a component from a certain group</li> |
|
17 <li>a pre-defined text string.</li> |
|
18 </ul> |
|
19 |
|
20 <p>You can specify the following types of rules in TraceViewer: |
|
21 <ul> |
|
22 <li><b>Color:</b> identifies traces that meet the specific criteria with a |
|
23 certain color.</li> |
|
24 <li><b>Line count:</b> counts the number of occurrences for a certain type |
|
25 of trace (for example, used to indicate how many times a function has been |
|
26 called during a test case).</li> |
|
27 <li><b>Variable tracing:</b> shows the values of certain variables and the |
|
28 history of their occurrences.</li> |
|
29 <li><b>Filter:</b> filters specific traces by allowing the creation of complex |
|
30 statements, which include certain traces and exclude others.</li> |
|
31 <li><b>Trigger:</b> used for setting up start and stop triggers that define |
|
32 specifically when traces should be received. </li> |
|
33 </ul> |
|
34 |
|
35 </p><p><b>Note:</b> Compared to trace <i>activation</i>, filters are not as |
|
36 strict about the type of data they pass on from the device. |
|
37 For more information, see <a href="decode_file.htm">Dictionary file and trace |
|
38 activation</a>.</p> |
|
39 |
|
40 <h5>Related tasks</h5> |
|
41 <ul> |
|
42 <li><a href="../tasks/advancedfilter.htm">Setting filtering options</a></li> |
|
43 </ul> |
|
44 |
|
45 <div id="footer">Copyright © 2007-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
46 License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div> |
|
47 </body> |
|
48 </html> |