This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [patch 1/2] [BUG]kallsyms_lookup_name should return the text addres
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Keshavamurthy Anil S <anil dot s dot keshavamurthy at intel dot com>
- Cc: Keith Owens <kaos at sgi dot com>, "Randy.Dunlap" <rdunlap at xenotime dot net>, Paulo Marques <pmarques at grupopie dot com>, Linux Kernel <linux-kernel at vger dot kernel dot org>, akpm at osdl dot org, tony dot luck at intel dot com, Systemtap <systemtap at sources dot redhat dot com>, Jim Keniston <jkenisto at us dot ibm dot com>
- Date: 10 Jan 2006 21:26:37 -0500
- Subject: Re: [patch 1/2] [BUG]kallsyms_lookup_name should return the text addres
- References: <Pine.LNX.4.58.0601101606380.12724@shark.he.net> <20396.1136939008@ocs3.ocs.com.au> <20060110163956.A17329@unix-os.sc.intel.com>
anil.s.keshavamurthy@intel.com writes:
> [...] Humm..This duplication of symbols in the kernel will be a
> problem for systemtap scripts, as we might end up putting probes in
> the unwanted places :-( [...]
Not at all. Systemtap does not look in System.map. It can qualify
function names with the compilation unit name to make unique the probe
target. For that matter, it only uses /proc/kallsyms as a table to
drive the address-to-name mappings in debug output.
- FChE