Is there any software for profiling windows kernel modules?

Hi,

Is there any profiling tools available to profile windows kernel modules?
Is there a concept of Profile Based Optimization for windows kernel
modules?
Would appreicate any information on this.

Thanks,
-Praveen


Take the whole responsibility on your own shoulders, and know
that you are the creator of your own destiny.

  • Swami Vivekananda

Look here: http://www.microsoft.com/whdc/DevTools/tools/default.mspx

Prefast and SDV both profile the code during BUILD looking for bugs.

Matt

Praveen Kumar Amritaluru wrote:

Hi,

Is there any profiling tools available to profile windows kernel modules?
Is there a concept of Profile Based Optimization for windows kernel
modules?
Would appreicate any information on this.

Thanks,
-Praveen


Take the whole responsibility on your own shoulders, and know
that you are the creator of your own destiny.

Intel’s VTune is a terrific tool for low level optimization and can profile
really exotic stuff other than simple time (for example cache misses can be
profiled). A simple product is the kernrate profiler included in the DDK (or
do you now have to download it).

Modern, x86 processors have very sophisticated architectures that optimize
things like branches at run-time so am not sure profile guided compilation
would be super effective. Better algorithms can make a world of difference
overall, and unfortunately the Windows driver API and DDK are pretty lame as
far as having data structure components.

  • Jan

Is there any profiling tools available to profile windows kernel modules?

Is there a concept of Profile Based Optimization for windows kernel
modules?

Would appreicate any information on this.

Microsoft provides Kernrate in the DDK to do profiling and a tool KrView
that uses an Excel spreadsheet to display the data. KrView can be found at
http://www.microsoft.com/whdc/system/sysperf/krview.mspx. There is no
profile based optimization with the Microsoft compilers.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Praveen Kumar Amritaluru” wrote in message
news:xxxxx@ntdev…
Hi,

Is there any profiling tools available to profile windows kernel modules?
Is there a concept of Profile Based Optimization for windows kernel
modules?
Would appreicate any information on this.

Thanks,
-Praveen

-------
Take the whole responsibility on your own shoulders, and know
that you are the creator of your own destiny.
- Swami Vivekananda