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.
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.