Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
4819 Discussions

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

dadwin
Beginner
235 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
235 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.
dadwin
Beginner
235 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
Reply