This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]