This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 12 Sep 2012 21:21:23 +0000
- Subject: [Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14573
Bug #: 14573
Summary: Pass pt_regs to dyninst probe handlers
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dyninst
AssignedTo: systemtap@sourceware.org
ReportedBy: jistone@redhat.com
Classification: Unclassified
In order to examine much process state with stapdyn, we're going to need
registers. We should pass a pt_regs* (/usr/include/asm/ptrace.h) as a
parameter to the probe handler.
I believe this can be allocated and prepared via BPatch_register code snippets.
We will probably need to hardcode architecture-specific support for the
register layouts, but I think that's ok as these are generally unchanging.
Not all registers will be available. Right now dyninst only exposes the
general purpose registers, and none of the special registers. We do need
access to the frame and stack pointers, but that should come soon - see:
https://lists.cs.wisc.edu/archive/dyninst-api/2012/msg00093.shtml
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.