* [Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers
@ 2012-09-12 21:21 jistone at redhat dot com
2012-10-11 17:20 ` [Bug dyninst/14573] " jistone at redhat dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: jistone at redhat dot com @ 2012-09-12 21:21 UTC (permalink / raw)
To: systemtap
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug dyninst/14573] Pass pt_regs to dyninst probe handlers
2012-09-12 21:21 [Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers jistone at redhat dot com
@ 2012-10-11 17:20 ` jistone at redhat dot com
2013-02-11 21:11 ` jistone at redhat dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jistone at redhat dot com @ 2012-10-11 17:20 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14573
--- Comment #1 from Josh Stone <jistone at redhat dot com> 2012-10-11 17:20:22 UTC ---
Commit dd94003 started this by passing individual registers to a separate entry
point, which then packs those up into a pt_regs. It would still be nicer to
find a way to build pt_regs more directly though.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug dyninst/14573] Pass pt_regs to dyninst probe handlers
2012-09-12 21:21 [Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers jistone at redhat dot com
2012-10-11 17:20 ` [Bug dyninst/14573] " jistone at redhat dot com
@ 2013-02-11 21:11 ` jistone at redhat dot com
2013-06-12 2:24 ` jistone at redhat dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jistone at redhat dot com @ 2013-02-11 21:11 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14573
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |15136
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug dyninst/14573] Pass pt_regs to dyninst probe handlers
2012-09-12 21:21 [Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers jistone at redhat dot com
2012-10-11 17:20 ` [Bug dyninst/14573] " jistone at redhat dot com
2013-02-11 21:11 ` jistone at redhat dot com
@ 2013-06-12 2:24 ` jistone at redhat dot com
2013-06-12 21:10 ` jistone at redhat dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jistone at redhat dot com @ 2013-06-12 2:24 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14573
--- Comment #2 from Josh Stone <jistone at redhat dot com> ---
Commit 09bf82fd adds basic powerpc support, but it's limited to only 6
registers (including IP) due to a limitation noted in Dyninst's
EmitterPOWER::emitCall().
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug dyninst/14573] Pass pt_regs to dyninst probe handlers
2012-09-12 21:21 [Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers jistone at redhat dot com
` (2 preceding siblings ...)
2013-06-12 2:24 ` jistone at redhat dot com
@ 2013-06-12 21:10 ` jistone at redhat dot com
2020-06-05 13:47 ` scox at redhat dot com
2020-06-16 20:34 ` scox at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: jistone at redhat dot com @ 2013-06-12 21:10 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14573
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |15614
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug dyninst/14573] Pass pt_regs to dyninst probe handlers
2012-09-12 21:21 [Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers jistone at redhat dot com
` (3 preceding siblings ...)
2013-06-12 21:10 ` jistone at redhat dot com
@ 2020-06-05 13:47 ` scox at redhat dot com
2020-06-16 20:34 ` scox at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: scox at redhat dot com @ 2020-06-05 13:47 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=14573
Bug 14573 depends on bug 15614, which changed state.
Bug 15614 Summary: stapdyn only partially fills registers on ppc
https://sourceware.org/bugzilla/show_bug.cgi?id=15614
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug dyninst/14573] Pass pt_regs to dyninst probe handlers
2012-09-12 21:21 [Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers jistone at redhat dot com
` (4 preceding siblings ...)
2020-06-05 13:47 ` scox at redhat dot com
@ 2020-06-16 20:34 ` scox at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: scox at redhat dot com @ 2020-06-16 20:34 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=14573
Stan Cox <scox at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
CC| |scox at redhat dot com
--- Comment #3 from Stan Cox <scox at redhat dot com> ---
Fixed by setting up all the regs using multiple synthesized calls.
*** This bug has been marked as a duplicate of bug 24954 ***
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-06-16 20:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-12 21:21 [Bug dyninst/14573] New: Pass pt_regs to dyninst probe handlers jistone at redhat dot com
2012-10-11 17:20 ` [Bug dyninst/14573] " jistone at redhat dot com
2013-02-11 21:11 ` jistone at redhat dot com
2013-06-12 2:24 ` jistone at redhat dot com
2013-06-12 21:10 ` jistone at redhat dot com
2020-06-05 13:47 ` scox at redhat dot com
2020-06-16 20:34 ` scox at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).