Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hnaparst
Beginner
104 Views

Does VTune support recompiled kernels?

Does VTune support kernels that have been recompiled, for instance
to enable Pentium-4 features? I prefer to run kernels that are
targeted specifically at the processor I'm using, rather than
generic x86. So, for instance, on my machines, I have hyperthreading enabled, SMP enabled, and Pentium 4 enabled.

Harold Naparst
0 Kudos
2 Replies
David_A_Intel1
Employee
104 Views

Yes, definitely! The key is to enable debug info (gcc switch = '-g') when building the kernel. This allows the VTune analyzer to show hotspots in the kernel and display source for the kernel with data associated. If you aren't interested in this support, then you don't need to include debug info and the VTune analyzer will still support application profiling.
Regards,
hnaparst
Beginner
104 Views

With a little trepidation, I'll ask the big question:

How much does does compiling the kernel with -g slow the system
and apps down? I assume that if I did this, -fomit-frame-pointer
would be a bad idea, right?

Harold
Reply