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/5667] Exploit kprobe.symbol_name for function boundary tracing


------- Additional Comments From fche at redhat dot com  2008-01-25 14:51 -------
The key here is to let the translator compute the list of
symbols that come from the various probes.  (Computing them
at run time only is theoretically possible, but let's not go
there unless we have to.)

If this symbol list is acquired via elfutils during translation,
then either the existing relocation mechanism (section+offset)
versus the kprobes-specific (symbol-name) may be selected.  As
you see from the code, in the attachment, there is little
difference.

If this symbol list can be collected some other way - perhaps by
a new file akin to Module.symvers, or some RPC to fetch
/proc/kallsyms (eww!), one or the other method may be favoured.


-- 


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

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