Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5010 Discussions

Does VTune support recompiled kernels?

hnaparst
Beginner
445 Views
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
445 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,
0 Kudos
hnaparst
Beginner
445 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
0 Kudos
Reply