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 21:55:04 +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
--- Comment #26 from David Smith <dsmith at redhat dot com> 2012-08-14 21:55:04 UTC ---
Created attachment 6578
--> http://sourceware.org/bugzilla/attachment.cgi?id=6578
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?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.