From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 548523858407; Fri, 24 Sep 2021 08:06:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 548523858407 From: "mark at klomp dot org" To: systemtap@sourceware.org Subject: [Bug runtime/28378] semantic error: process return probes not available [man error::inode-uprobes] Date: Fri, 24 Sep 2021 08:06:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: mark at klomp dot org 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: 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-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: Fri, 24 Sep 2021 08:06:31 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28378 --- Comment #4 from Mark Wielaard --- I must say I don't really understand some of the issues you are seeing. But= it looks like you are using a couple of years old Ubuntu install. Maybe you can ask them if they are still supporting that and can help you with using these more modern systemtap features. > # stap -p4 -r $(uname -r) tracer.stp -m tracer -v -g --suppress-time-limi= ts > WARNING: Probe 'process' has been elided: keyword at :1294:1 > source: probe process("/bin/bash").function("*_builtin") { > ^ This is weird, it means stap believes this probe is empty. But what you show above looks like it isn't. Do all if statements evaluate to false? > semantic error: while processing probe tp_syscall.open.return from: nd_sy= scall.open.return from: syscall.open.return from: syscall.open.return >=20 > semantic error: internal error: @entry is only valid in .return probes: o= perator '@entry' at :652:32 > source: filename =3D user_string(@entry($filename), err_m= sg) > ^ This is even more curious. This seems to have nothing to do with the script= you posted. I cannot explain why the above expands to something that uses an @entry. Might there be more to the script than what you posted in this bug? --=20 You are receiving this mail because: You are the assignee for the bug.=