From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2C722396B43B; Tue, 4 May 2021 04:09:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C722396B43B From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug bpf/27818] New: tapset function pgrp() not working with the bpf runtime Date: Tue, 04 May 2021 04:09:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: agentzh at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: Tue, 04 May 2021 04:09:17 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27818 Bug ID: 27818 Summary: tapset function pgrp() not working with the bpf runtime Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: bpf Assignee: systemtap at sourceware dot org Reporter: agentzh at gmail dot com Target Milestone: --- The pgrp() tapset function does not work with the bpf runtime: ``` [agentzh@fed32-min ~/git/systemtap.new 0 (master)]$ /opt/stap/bin/stap --bp= f -e 'probe oneshot { println(pgrp()) }' semantic error: unresolved function pgrp (similar: pp, gid, pn, cpu, pid): identifier 'pgrp' at :1:25 source: probe oneshot { println(pgrp()) } ^ Pass 2: analysis failed. [man error::pass2] ``` while the kernel runtime works: ``` [agentzh@fed32-min ~/git/systemtap.new 1 (master)]$ /opt/stap/bin/stap -e 'probe oneshot { println(pgrp()) }' 83822 ``` It'll be great if we can have this covered in ebpf. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=