public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug uprobes/10836] New: uprobes-provided pt_regs* are unreliable
@ 2009-10-23 16:25 fche at redhat dot com
  2009-10-27 11:44 ` [Bug uprobes/10836] " srikar at linux dot vnet dot ibm dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: fche at redhat dot com @ 2009-10-23 16:25 UTC (permalink / raw)
  To: systemtap

Several registers appearing in a utrace-oriented pt_regs do not accurately
represent the state of the user-space task.  As per bug #10601, this breaks
some dwarf-based $context variables.

It seems to me that either uprobes should not pass pt_regs at all to its
callbacks, or else populate it with synthetic (but accurate) values pulled
out of utrace regset calls.  (The latter would be slower and require per-arch
code, but would make it more convenient for the clients.  The former would
be faster, and still require per-arch code at the client, but would be less
convenient.)

-- 
           Summary: uprobes-provided pt_regs* are unreliable
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: uprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10836

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-11-30 20:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-23 16:25 [Bug uprobes/10836] New: uprobes-provided pt_regs* are unreliable fche at redhat dot com
2009-10-27 11:44 ` [Bug uprobes/10836] " srikar at linux dot vnet dot ibm dot com
2009-10-27 11:45 ` srikar at linux dot vnet dot ibm dot com
2009-10-27 12:27 ` fche at redhat dot com
2009-10-27 18:40 ` roland at gnu dot org
2009-10-27 19:17 ` fche at redhat dot com
2009-10-28 12:29 ` mjw at redhat dot com
2009-10-28 16:53 ` jkenisto at us dot ibm dot com
2009-10-28 16:56 ` fche at redhat dot com
2009-10-28 16:59 ` fche at redhat dot com
2009-10-28 18:22 ` roland at gnu dot org
2009-10-29  6:20 ` ananth at in dot ibm dot com
2009-10-29 14:29 ` fche at redhat dot com
2009-11-05 13:57 ` fche at redhat dot com
2009-11-30 20:36 ` fche 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).