From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99344 invoked by alias); 11 Dec 2015 22:34:45 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 99318 invoked by uid 48); 11 Dec 2015 22:34:41 -0000 From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/19360] New: Verify that examples and tapsets with return probes use @entry for function arguments Date: Fri, 11 Dec 2015 22:34:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q4/txt/msg00275.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D19360 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 stor= ed 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=3Dsystemtap.git;a=3Dcommit;h=3D3d0c= 2f452f09a64b800aabe68508f8f0183f0ea1 --=20 You are receiving this mail because: You are the assignee for the bug.