From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0481E3858D28; Fri, 24 Sep 2021 08:25:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0481E3858D28 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 08:25:50 +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 08:25:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28378 --- Comment #5 from Nylon Chen --- Hi Mark Wielaard, thanks for your help When I use process.statement() or process.function replace=20 process.function().return=20 I can fix "error::inode-uprobes" issue but my stap has other error "semantic error: while processing probe tp_syscall.read.return from: nd_syscall.read.return from: syscall.read.return from: syscall.read.return" I try to reduce this stap script ``` ... probe syscall.write { write_fds[tid()] =3D fd } probe syscall.write.return { p =3D pid() // Get fd even if non-dwarf syscall return probe. fd =3D write_fds[tid()] delete write_fds[tid()] bytes =3D retval time =3D gettimeofday_us() - @entry(gettimeofday_us()) if (bytes > 0) filewrite[p, fd] <<< bytes time_io[p, fd] <<< time } ... ``` the error message point out the problem is "syscall.xxx.return" I try to comment (/**/) it, and the compiler's result is ok I just curious about this result. --=20 You are receiving this mail because: You are the assignee for the bug.=