Share via


Controlling the Kernel Profiler by Using the prof Command (Windows Embedded CE 6.0)

1/5/2010

In the Target Control window or a command prompt window, you can use the prof command to control the kernel profiler. For more information about the prof command, see Target Control Debugging: prof Command.

To start the kernel profiler by using the prof command

  1. At the Windows Embedded CE prompt, type one of the following commands:

    • prof on -m
      This command runs the kernel profiler in Monte Carlo profiling mode. For more information about Monte Carlo profiling, see Monte Carlo Profiling.
    • prof on -s
      This command runs the kernel profiler in system call profiling mode. For more information about system call profiling, see System Call Profiling.
    • prof on -k
      This command runs the kernel profiler in instrumented kernel profiling mode. For more information about instrumented kernel profiling, see Instrumented Kernel Profiling.
  2. Append the -b option to run the kernel profiler in buffered mode

    - or -

    Append the -u option to run the kernel profiler in unbuffered mode.

    If you do not append the -b option or the -u option, the kernel profiler runs in buffered mode. For more information about buffered and unbuffered mode, see Buffered and Unbuffered Profiling.

  3. Press the ENTER key.

To stop the kernel profiler by using the prof command

  1. At the Windows Embedded CE prompt, type prof off, and then press the ENTER key.

See Also

Concepts

Kernel Profiler Modes

Other Resources

Controlling the Kernel Profiler