[Bug testsuite/11514] nd_syscall.exp takes more than 10 times longer than syscall.exp testcase
Ananth N Mavinakayanahalli
ananth@in.ibm.com
Thu Apr 22 19:46:00 GMT 2010
On Wed, Apr 21, 2010 at 07:05:39PM -0000, jistone at redhat dot com wrote:
>
> But on PPC64, it's a little more complicated to deal with function descriptors.
> In some cases the returned address is actually a pointer to the real address,
> and in other cases it tries to search again with a '.' added to the name. We
> need to deal with this too if we're bypassing kprobe_lookup_name().
Right, on PPC64, the symbol table address entry foo, for a function foo()
is a data address while .foo is the actual text address. In the past,
the System.map would contain both foo and .foo; RHEL5 on, the .foo
entries have been omitted from there.
If possible, I'd suggest that you don't bypass kprobe_lookup_name() for
debuginfoless probes, since it handles more cases like symbol clashes
between modules and such; let the kernel resolve the addresses for us.
More information about the Systemtap
mailing list