12.1. Building the ARM Profiler Symbian OS kernel extension

To build the Symbian OS kernel with profiling enabled:

  1. Install the Symbian build system on your host machine.

  2. Build the Symbian OS according to your normal process. For more information on building the Symbian OS, see the Symbian Developer Library at:

    http://www.symbian.com/Developer
    
  3. In the \src\CEDAR\GENERIC\base\e32\drivers\armproske directory, build the required build files by invoking the following command:

    bldmake bldfiles ARMV6
    
  4. Build the kernel extension with the following command:

    abld.bat -v build ARMV6
    
  5. In the \bin\TechView\epoc32\rom\ct1136\kernel.iby directory, open kernel.iby with any text editor. For example:

    edit kernel.iby
    
  6. Add the following two lines before the first kernel extension:

    // Profiler Kernel Extension
    
    extension[VARID]=    \Epoc32\Release\##KMAIN##\##BUILD##\rvpke.dll            \Sys\Bin\armproske.dll
    

    Note

    Inserting the ARM Profiler extension before any other ensures that the ARM Profiler is aware of every extension loaded after it.

  7. Build the ROMs according to your normal process.

  8. Depending on how you build your Symbian OS image, you may need to use a .cmm script file to load the image before the application. For more information on using script files, see Setting up scripts.

Copyright © 2007, 2008 ARM Limited. All rights reserved.ARM DUI 0414C
Non-Confidential