[Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers
jistone at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Sep 12 21:21:00 GMT 2012
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.
More information about the Systemtap
mailing list