trace/traceviewer/com.nokia.traceviewer.help/html/concepts/tracecompiler.htm
changeset 11 5b9d4d8641ce
equal deleted inserted replaced
10:ed1c9f64298a 11:5b9d4d8641ce
       
     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>Trace Compiler</title>
       
     6 <link href="../../book.css" type="text/css" rel="stylesheet"></head>
       
     7 <body>
       
     8 
       
     9 <h2>Trace Compiler</h2>
       
    10 <p>The Trace Compiler is a tool that is attached
       
    11 to the Symbian OS Build System. It is run before the actual C++ compiler.
       
    12 The purpose of Trace Compiler is to generate the needed headers for Open System
       
    13 Traces (OST) traces to compile. Trace Compiler is run when you normally compile
       
    14 your component that has OST traces.</p>
       
    15 <p>When Trace Compiler is run and the project contains OST traces, 
       
    16 you should find the following text printed on the <b>Console</b> tab, 
       
    17 as in the following example for the <i>HelloWorld</i> component:</p>
       
    18 
       
    19 <pre>perl C:/Symbian/9.3/S60_3rd_FP2/epoc32/tools/tracecompiler.pl WINSCW
       
    20 ******************* TRACECOMPILER STARTS *******************
       
    21 Building traces for component HelloWorld. Component UID: 0xEAAEC036.
       
    22 ******************* TRACECOMPILER ENDS *********************</pre>
       
    23 
       
    24 <p>After Trace Compiler is run, the needed headers are generated to the <b>traces</b> 
       
    25 folder of your component. If you have OST traces in <i>HelloWorld.cpp</i>, 
       
    26 the header to be generated is <i>HelloWorldTraces.h</i>, which is included
       
    27 from <i>HelloWorld.cpp</i>.</p>
       
    28 <p><b>Note:</b> If you cannot find the following line or similar when compiling 
       
    29 your component, it might be that your SDK does not  have Trace Compiler installed:</p>
       
    30 
       
    31 <pre>perl C:/Symbian/9.3/S60_3rd_FP2/epoc32/tools/tracecompiler.pl WINSCW</pre>
       
    32 
       
    33 <h5>Related concepts</h5>
       
    34 <ul>
       
    35 	<li><a href="trace_format.htm">Open System Trace (OST)</a></li>
       
    36 </ul>
       
    37 
       
    38 <div id="footer">Copyright &copy; 2007-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 
       
    39 License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div>
       
    40 </body>
       
    41 </html>