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

How use VTune to profile my application with linux kernel monitoring?

dadwin
Beginner
393 Views
Hi! I try to use Vtune Amplifier XE 2011 for Linux and Lightweight Hotspots analysis. I've done all like that http://software.intel.com/en-us/articles/intel-vtune-performance-analyzer-80-for-linux-collecting-sampling-data-for-linux-kernel/ my linux kernel is 2.6.24-19-generic and set search dirs to /boot and /usr/src/linux-headers-2.6.24-19-generic In results vtune shows a line for [vmlinux], but I want to drill down to kernel What should I do? Thanks
0 Kudos
2 Replies
Peter_W_Intel
Employee
393 Views
The key point is if your running kernel has symbols, non-compressed, non-bzImage format. Please check with your OS vendor or built Linux* kernel source by yourself.
0 Kudos
dadwin
Beginner
393 Views
Yeah, my linux kernel is!

I' ve solved this problem.
There must be file named vmlinux in the /boot dir, not vmlinux-{KERNEL-VERSION}.
Then we can see intheBottom-uptab some kernel function.
And don't forget to add paths to modules that you want to see into Search Directories in the project options
0 Kudos
Reply