Share via


Creating a Kernprof Version of the Kernel (Windows CE 5.0)

Send Feedback

You can build a run-time image without KITL that supports the kernel profiler. You do this by building a new version of the kernel that includes profiling and does not include KITL.

Note   When you run the kernel profiler without KITL, the output of the kernel profiler is written to the same place that debug output is written. Typically, debug output is written to the debug serial port.

To build without KITL a run-time image that supports the kernel profiler

  1. At %_WINCEROOT%\Platform\<Hardware platform name>\Src\Kernel, create a directory named Kernprof.

  2. Copy all files from the Kern directory to the Kernprof directory.

  3. Examine the Kernkitlprof\sources file and note the differences between the Kernelkitlprof\sources file and the Kernkitl\sources file.

  4. Modify the Kernprof\sources file so that the Kernprof\sources file differs from the Kern\sources file in the same way that the Kernkitlprof\sources file differs from the Kernkitl\sources file.

  5. Modify the Common.bib file to make the build system use the Kernkitl.exe version of the kernel when the IMGPROFILER and IMGNOKITL environment variables are set.

    For more information, see Configuring the Config.bib and Common.bib Files for IMGPROFILER.

See Also

Setting Up the Kernel Profiler | Building a Run-Time Image That Supports the Kernel Profiler

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.