From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2355E3890420; Mon, 29 Jun 2020 11:31:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2355E3890420 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/26181] New: tapset/linux/nfs_proc.stp needs update Date: Mon, 29 Jun 2020 11:31:58 +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: 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: 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-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2020 11:31:59 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26181 Bug ID: 26181 Summary: tapset/linux/nfs_proc.stp needs update Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: mcermak at redhat dot com Target Milestone: --- Following testcase fails with recent stap: =3D=3D=3D=3D=3D=3D=3D # cat nfs.proc.read_setup.stp=20 probe nfs.proc.read_setup{ printf("nfs.proc.read_setup server_ip: %s\n", server_ip); printf("nfs.proc.read_setup prot: %d\n", prot); } # stap -v -p 2 nfs.proc.read_setup.stp Pass 1: parsed user script and 479 library scripts using 198280virt/79724res/10572shr/68976data kb, in 260usr/40sys/297real ms. semantic error: type mismatch (string): identifier 'server_ip' at nfs.proc.read_setup.stp:2:55 source: printf("nfs.proc.read_setup server_ip: %s\n", server_ip); ^ semantic error: type mismatch (string): identifier 'server_ip' at :2:55 source: printf("nfs.proc.read_setup server_ip: %s\n", server_ip); ^ semantic error: type was first inferred here (long): identifier 'server_ip'= at /usr/local/share/systemtap/tapset/linux/nfs_proc.stp:761:2 source: server_ip =3D 0 ^ semantic error: unknown type in dereference: operator '->' at /usr/local/share/systemtap/tapset/linux/nfs_proc.stpm:26:13 source: ( @nfs_data->args->count ) ^ in expansion of macro: operator '@_nfs_data_args_count' at /usr/local/share/systemtap/tapset/linux/nfs_proc.stp:792:10 source: count =3D @_nfs_data_args_count(@choose_defined($hd= r, $data)) ^ semantic error: unknown type in dereference: operator '->' at :26:13 source: ( @nfs_data->args->count ) ^ in expansion of macro: operator '@_nfs_data_args_count' at /usr/local/share/systemtap/tapset/linux/nfs_proc.stp:824:10 source: count =3D @_nfs_data_args_count(@choose_defined($hd= r, $data)) ^ Pass 2: analyzed script: 3 probes, 26 functions, 2 embeds, 0 globals using 422524virt/305128res/11776shr/293220data kb, in 3450usr/580sys/4040real ms. Pass 2: analysis failed. [man error::pass2] #=20 =3D=3D=3D=3D=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.=