This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/16162] New: plt addresses are incorrect for prelinked libraries
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 13 Nov 2013 08:02:16 +0000
- Subject: [Bug translator/16162] New: plt addresses are incorrect for prelinked libraries
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16162
Bug ID: 16162
Summary: plt addresses are incorrect for prelinked libraries
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: jistone at redhat dot com
Every address we use should eventually boil down to a file offset, especially
when we're on inode-uprobes or stapdyn. But this doesn't seem to happen for a
prelinked library:
> $ stap -e 'probe process("/usr/lib64/libc-2.17.so").plt { println(pp()) }' -c true
> WARNING: probe process("/usr/lib64/libc-2.17.so").statement(0x3f1ec1f400) inode-offset 0000003f1ec1f400 registration error (rc -22)
> WARNING: probe process("/usr/lib64/libc-2.17.so").statement(0x3f1ec1f3f0) inode-offset 0000003f1ec1f3f0 registration error (rc -22)
[...]
> $ stap -e 'probe process("/usr/lib64/libc-2.17.so").plt { println(pp()) }' -c true --dyn
> stapdyn: WARNING: Couldn't convert /usr/lib64/libc-2.17.so+0x3f1ec1f320 to an address
> stapdyn: WARNING: Couldn't convert /usr/lib64/libc-2.17.so+0x3f1ec1f330 to an address
[...]
Those look like raw prelinked addresses, not offsets.
--
You are receiving this mail because:
You are the assignee for the bug.