* [Bug dyninst/24954] New: stapdyn on ppc/aarch64 do not support full register set
@ 2019-08-30 21:02 scox at redhat dot com
2019-08-30 21:13 ` [Bug dyninst/24954] " scox at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: scox at redhat dot com @ 2019-08-30 21:02 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=24954
Bug ID: 24954
Summary: stapdyn on ppc/aarch64 do not support full register
set
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dyninst
Assignee: systemtap at sourceware dot org
Reporter: scox at redhat dot com
Target Milestone: ---
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug dyninst/24954] stapdyn on ppc/aarch64 do not support full register set
2019-08-30 21:02 [Bug dyninst/24954] New: stapdyn on ppc/aarch64 do not support full register set scox at redhat dot com
@ 2019-08-30 21:13 ` scox at redhat dot com
2019-12-11 15:05 ` scox at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: scox at redhat dot com @ 2019-08-30 21:13 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=24954
--- Comment #1 from Stan Cox <scox at redhat dot com> ---
ah so for -O0 on ppc the stap probe gets the value from r31 + 0x80 but r31 is
not setup due to 8 arg restriction. optimization often works because r31 isn't
used. not too familiar with ppc, why not r1 (sp) + 0x80 ?
stapdyn sets up the probe register context using a dyninst synthesized call,
which dyninst limits to the number of register args. stapdyn sets up only
those registers so if a probe variable access requires a register that isn't
set, e.g. r31 + 0x80, then it fails.
If a non set register is not required, oftentimes this will be the case with
-O2, then the access will succeed. The possible solution is to set up all the
regs using multiple synthesized calls. See mutatee.cxx::get_dwarf_registers,
mutatee.cxx::mutatee::instrument_dynprobe_target,
uprobes-regs.c::enter_dyninst_uprobe_regs.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug dyninst/24954] stapdyn on ppc/aarch64 do not support full register set
2019-08-30 21:02 [Bug dyninst/24954] New: stapdyn on ppc/aarch64 do not support full register set scox at redhat dot com
2019-08-30 21:13 ` [Bug dyninst/24954] " scox at redhat dot com
@ 2019-12-11 15:05 ` scox at redhat dot com
2020-06-05 13:47 ` scox at redhat dot com
2020-06-16 20:34 ` scox at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: scox at redhat dot com @ 2019-12-11 15:05 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=24954
Stan Cox <scox at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Stan Cox <scox at redhat dot com> ---
Fixed in dyninst-10.1.0-4
systemtap-4.2-0
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug dyninst/24954] stapdyn on ppc/aarch64 do not support full register set
2019-08-30 21:02 [Bug dyninst/24954] New: stapdyn on ppc/aarch64 do not support full register set scox at redhat dot com
2019-08-30 21:13 ` [Bug dyninst/24954] " scox at redhat dot com
2019-12-11 15:05 ` scox at redhat dot com
@ 2020-06-05 13:47 ` scox at redhat dot com
2020-06-16 20:34 ` scox at redhat dot com
3 siblings, 0 replies; 5+ 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=24954
Stan Cox <scox at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jistone at redhat dot com
--- Comment #3 from Stan Cox <scox at redhat dot com> ---
*** Bug 15614 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug dyninst/24954] stapdyn on ppc/aarch64 do not support full register set
2019-08-30 21:02 [Bug dyninst/24954] New: stapdyn on ppc/aarch64 do not support full register set scox at redhat dot com
` (2 preceding siblings ...)
2020-06-05 13:47 ` scox at redhat dot com
@ 2020-06-16 20:34 ` scox at redhat dot com
3 siblings, 0 replies; 5+ 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=24954
--- Comment #4 from Stan Cox <scox at redhat dot com> ---
*** Bug 14573 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-06-16 20:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-30 21:02 [Bug dyninst/24954] New: stapdyn on ppc/aarch64 do not support full register set scox at redhat dot com
2019-08-30 21:13 ` [Bug dyninst/24954] " scox at redhat dot com
2019-12-11 15:05 ` scox 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).