From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58759 invoked by alias); 8 Nov 2016 09:36:19 -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 53351 invoked by uid 48); 8 Nov 2016 09:36:06 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/14924] warn on complex $ptr->foo expressions in .return probes Date: Tue, 08 Nov 2016 09:36:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mcermak 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: attachments.created Message-ID: In-Reply-To: References: 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: 2016-q4/txt/msg00048.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D14924 --- Comment #3 from Martin Cermak --- Created attachment 9612 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D9612&action=3Dedit working version of a patch Funnily, I'm still a bit lost in this problem. Attached patch demonstrates where I am now ;-) But it does something: =3D=3D=3D=3D=3D=3D=3D $ stap -e 'probe process("./a.out").function("set2").return { println($y->= x) }' -c './a.out > /dev/null' -p2 > /dev/null WARNING: WARN WARN WARN $ stap -e 'probe process("./a.out").function("set2").return { println(@entry($y->x)) }' -c './a.out > /dev/null' -p2 > /dev/null $ =3D=3D=3D=3D=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.