- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I tried to use VTune to profile the hardware events in the kernel. After profiling, Bottom-up shows me all the functions and event counts. When I double clicked a kernel function to see the source code, it shows "Failed toshow source and assembly code".
I have specified search directories in Project Properties. I put both /boot and /usr/src/linux-source-2.6.38/linux-source-2.6.38 for Source files and Symbol files. I also enabled "Compile the kernel with debug info". I don't know what else I should do.
Furthermore, I want to find out where the kernel functions are called. For example, I'm profiling bus invalidate events, and VTune shows me __ticket_spin_lock causes most invalidation. It's kind of expected. So it's more interesting to see where it is called. Can VTune show me that?
Thanks,
Da
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. It works. I guess I didn't click Re-resolve button when I specified the Linux build directory.
Da

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page