public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/19360] New: Verify that examples and tapsets with return probes  use @entry for function arguments
@ 2015-12-11 22:34 wcohen at redhat dot com
  2024-02-15 20:12 ` [Bug runtime/19360] " wcohen at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: wcohen at redhat dot com @ 2015-12-11 22:34 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19360

            Bug ID: 19360
           Summary: Verify that examples and tapsets with return probes
                    use @entry for function arguments
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: wcohen at redhat dot com
  Target Milestone: ---

When reviewing test results on aarch64 I found that the systemtap lwtools
examples fslatency-nd.stp and fsslower-nd.stp were not using correct values of
arguments for return probe.  This is because the aarch64 arguments are stored
in registers that can be overwritten in the function.  These uses should be
wrapped by @entry to make sure the value from the function entry is used.  It
would be very wise to review the other scripts and tapsets in systemtap to
ensure that this problem is not lurking elsewhere. For problem entries do
something like what is done in:

https://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commit;h=3d0c2f452f09a64b800aabe68508f8f0183f0ea1

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

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

end of thread, other threads:[~2024-02-15 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-11 22:34 [Bug runtime/19360] New: Verify that examples and tapsets with return probes use @entry for function arguments wcohen at redhat dot com
2024-02-15 20:12 ` [Bug runtime/19360] " wcohen 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).