diff -r 14dc2103a631 -r ed1c9f64298a trace/tracebuilder/com.nokia.tracebuilder.help/html/concepts/tracecompiler.htm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trace/tracebuilder/com.nokia.tracebuilder.help/html/concepts/tracecompiler.htm Wed Jun 23 14:35:40 2010 +0300 @@ -0,0 +1,44 @@ + + +
+ +The Trace Compiler is a tool that is attached to the Symbian OS Build System. +It is run before the actual C++ compiler. The purpose of Trace Compiler is to +generate the needed headers for Open System Traces (OST) traces to compile. +Trace Compiler is run when you normally compile your component that has OST traces.
+When Trace Compiler is run and the project contains OST traces, you should find
+the following text printed on the Console tab, as in the following example
+for the HelloWorld component:
perl C:/Symbian/9.3/S60_3rd_FP2/epoc32/tools/tracecompiler.pl WINSCW + +******************* TRACECOMPILER STARTS ******************* + +Building traces for component HelloWorld. Component UID: 0xEAAEC036. + +******************* TRACECOMPILER ENDS *********************+ +
After Trace Compiler is run, the needed headers are generated to the traces +folder of your component. If you have OST traces in HelloWorld.cpp, +the header to be generated is HelloWorldTraces.h, which is included +from HelloWorld.cpp.
+Note: If you cannot find the following line or similar when compiling +your component, it might be that your SDK does not have Trace Compiler installed:
+ +perl C:/Symbian/9.3/S60_3rd_FP2/epoc32/tools/tracecompiler.pl WINSCW+ + +