[Bug translator/10174] Enable stap to map function addresses to function names

fche at redhat dot com sourceware-bugzilla@sourceware.org
Mon May 25 16:24:00 GMT 2009


------- Additional Comments From fche at redhat dot com  2009-05-25 16:24 -------
> > Thanks Frank !! This construct doesnt seem to work in dwarfless scenario 
> 
> You need to add dwarf :)
> stap -d kernel (or stap -d module-name) will make the symbols available by
> reading them from the debuginfo.

Yeah, but that seems to defeat the purpose of dwarfless probing.
Maybe extend -d to accept a (presumed) kernel symbol table file

  -d /lib/modules/`uname -r`/build/System.map

And the kprobes.* logic can add this to session.unwindsyms.  For
that matter, it could read the file (like in jkenisto's older
symbol-table-based probing implementation) to verify placement
of kernel-side symbol probes.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10174

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list