From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7105C3858402; Fri, 24 Sep 2021 02:51:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7105C3858402 From: "nylon7717 at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/28378] semantic error: process return probes not available [man error::inode-uprobes] Date: Fri, 24 Sep 2021 02:51:02 +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: nylon7717 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: 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 02:51:02 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28378 --- Comment #2 from Nylon Chen --- Hi, Mark Wielaard=20 thanks for your response. I try to change the suggest and remove *.return because Ubuntu 18.04 kernel version is 5.4.0 ``` -probe process("/usr/bin/bash").function("*_builtin").return { +probe process("/bin/bash").function("*_builtin") { if (in_call_tree(pid(), DONLY) =3D=3D 1) { if(@defined($list)){ printf("%s %d =3D %s(%s)\n", logstamp(0), $return, ppfunc(), bash_builtin_arg[ppfunc()]) delete bash_builtin_arg[ppfunc()] } } } ``` But I still encounter some error. # stap -p4 -r $(uname -r) tracer.stp -m tracer -v -g --suppress-time-limits WARNING: Probe 'process' has been elided: keyword at :1294:1 source: probe process("/bin/bash").function("*_builtin") { ^ semantic error: while processing probe tp_syscall.open.return from: nd_syscall.open.return from: syscall.open.return from: syscall.open.return semantic error: internal error: @entry is only valid in .return probes: operator '@entry' at :652:32 source: filename =3D user_string(@entry($filename), err_msg) ^ May I have misunderstood your tip? --=20 You are receiving this mail because: You are the assignee for the bug.=