|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
2 <html> |
|
3 <head> |
|
4 <title>Converting printf traces to OST traces</title> |
|
5 <link href="../../book.css" type="text/css" rel="stylesheet"></head> |
|
6 <body> |
|
7 |
|
8 <h2>Converting printf traces to OST traces</h2> |
|
9 <p>To convert your existing <code>Printf</code> traces to Open System Traces (OST), |
|
10 do the following: </p> |
|
11 <ol> |
|
12 <li>Go to <b>Window > Preferences > Carbide Extensions > TraceBuilder</b> to |
|
13 enable the <b>Printf Parser Support</b> option.</li> |
|
14 <li>Open a source file that contains the <code>Printf</code> traces. <p>You |
|
15 should find <code>Printf</code> traces listed in the Trace Builder tree view, |
|
16 as shown in the example: </p><p><img src="images/converttrace.png"></p></li> |
|
17 <li>On the tree view, right-click the trace and select <b>Convert to Open |
|
18 System Trace</b>.</li> |
|
19 <li>From the <b>Trace Group</b> list, select a group for your trace, or define |
|
20 a new one by typing its name into the field. </li> |
|
21 <li>Type in a name for your trace. </li> |
|
22 <li>Type the trace text you want to display in the TraceViewer tool. </li> |
|
23 <li>(Optional) From the <b>Template</b> list, select a pre-defined template |
|
24 for your trace. </li> |
|
25 <li>Click <b>OK</b>.</li> |
|
26 </ol> |
|
27 |
|
28 <h5>Related concepts</h5> |
|
29 <ul> |
|
30 <li><a href="../concepts/trace_format.htm">Open System Trace (OST)</a></li> |
|
31 </ul> |
|
32 |
|
33 <div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
34 License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div> |
|
35 </body> |
|
36 </html> |