Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4644 Discussions

hotspot listing with symbols for kernel modules

munangst
Beginner
195 Views
I'm trying to use VTune for Linux 1.1 to profile a loadable kernel module. My module ("panfs") shows up in the "vtl view -modules" listing, and I can run "vtl view -ha -mn panfs" to view the hotspots, but the addresses are displayed as hex values, rather than symbolically (function name+offset). This happens even if I add a "-sd" flag and the path to the directory where the kernel module panfs.o file is stored. The module is not stripped (and "nm" can access the symbol table just fine). "vtl view -ha -mn vmlinux -sd /usr/src/linux" does work (to view hotspots in the core kernel) and displays addresses symbolically without a problem, but of course that's not my loadable module.

Any hints or tips? Is this another feature that isn't implemented yet?

Marc
0 Kudos
1 Reply
jeffrey-gallagher
195 Views
Hey Marc,

Interesting report, and kudos on some pretty solid detective work to date.

I'm going to poke around the engineering team with this one, see what we can find. Stay tuned.

cheers

jdg
Reply