Configuring the Config.bib and Common.bib Files for IMGPROFILER (Windows Embedded CE 6.0)

1/5/2010

To support the kernel profiler when the IMGPROFILER environment variable is set, verify that the Config.bib and Common.bib files must contain appropriate conditional logic to respond to the value of this environment variable.

To configure the Config.bib and Common.bib files for IMGPROFILER

  1. In the Config.bib file, if IMGPROFILER is set, set PROFILE=ON.

    Verify that the Config.bib file contains the following code.

    IF IMGPROFILER   PROFILE=ONELSE   PROFILE=OFFENDIF
    

    When you set this PROFILE=ON, Makeimage is instructed to add information required for profiling into the run-time image. For more information about the PROFILE flag, see PROFILE.

  2. To choose a version of the kernel that supports the kernel profiler in the Common.bib file, if IMGPROFILER is set, use the Kernprof.exe version of the kernel.

    Verify that the Common.bib file contains the following code.

    IF IMGPROFILER   kernel.dll     $(_FLATRELEASEDIR)\kernprof.dll     NK  SHZENDIF
    

    For information about creating a Kernprof version of the kernel, see Creating a Kernprof Version of the Kernel.

See Also

Tasks

Building a Run-Time Image That Supports the Kernel Profiler

Concepts

Setting Up the Kernel Profiler
Kernel Profiler Modes