This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/5667] Exploit kprobe.symbol_name for function boundary tracing
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 25 Jan 2008 14:51:42 -0000
- Subject: [Bug translator/5667] Exploit kprobe.symbol_name for function boundary tracing
- References: <20080125095214.5667.ananth@in.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.