From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8193 invoked by alias); 6 Jun 2019 21:13: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 8173 invoked by uid 48); 6 Jun 2019 21:13:41 -0000 From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug bpf/24639] "next" statement not recognized by stap bpf backend Date: Thu, 06 Jun 2019 21:13:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: bpf 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: 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: 2019-q2/txt/msg00073.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24639 --- Comment #2 from William Cohen --- The bpf back is recognizing the next statement in probes, but the tests fai= l: $ ../install/bin/stap --bpf testsuite/systemtap.bpf/bpf_tests/next.stp=20 BEGIN END FAIL Looks like there is a problem with if statements code generation: $ ../install/bin/stap --bpf -e 'global a, b; probe init {a=3D10; b=3D10} pr= obe oneshot{if (a!=3Db) printf("!=3D\n") else printf("=3D=3D\n")}' =3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.