This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/14026] inode-uprobes should compute proper SET_REG_IP before probe invocation
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 14 Aug 2012 22:10:16 +0000
- Subject: [Bug runtime/14026] inode-uprobes should compute proper SET_REG_IP before probe invocation
- Auto-submitted: auto-generated
- References: <bug-14026-6586@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14026
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsmith at redhat dot com
--- Comment #27 from David Smith <dsmith at redhat dot com> 2012-08-14 22:10:16 UTC ---
(In reply to comment #26)
> Created attachment 6578 [details]
> patch that sets IP before calling probe handler
>
> (In reply to comment #25)
> > Srikar advises that the uprobes_get_bkpt_addr() function may be just the
> > ticket to compute the real probe virtual address at run time.
>
> It looks like uprobes_get_bkpt_addr() has been renamed uprobe_get_swbp_addr().
>
> Here's a patch, that I've done a quick test on, that seems to work. Anyone got
> any ideas on the best way to test this?
When exelib.exp is run, I see no difference with or without the patch.
====
Running ../../src/testsuite/systemtap.exelib/exelib.exp ...
FAIL: uprobeslibgcc-O3-m64-prelink-debug prelink
./libuprobeslibgcc-O3-m64-prelink-debug.so
FAIL: uprobeslibgcc-O3-m64-prelink-sep-debug prelink
./libuprobeslibgcc-O3-m64-prelink-sep-debug.so
FAIL: uprobeslibgcc-O3-m64-prelink-sep-debug-after prelink
./libuprobeslibgcc-O3-m64-prelink-sep-debug-after.so
=== systemtap Summary ===
# of expected passes 185
# of unexpected failures 3
====
The 3 failures are all prelink failures, of the form:
====
prelink failed: /usr/sbin/prelink: Could not set security context for
./libuprobeslibgcc-O3-m64-prelink-sep-debug-after.so: Operation not supported
====
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.