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