From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C079F3858409; Mon, 28 Nov 2022 12:31:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C079F3858409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669638704; bh=Ifu4ZTG3UpJhAv5m5HwkzlodMIMupA2RjDRW2ZwsknI=; h=From:To:Subject:Date:From; b=lVyz1h86MV2Lf9b0iYu1ro/d53D5Hsf4ULj8QzWM8ibEYaxcb90HrDv6+AsBDSTJl ospbwJ1pG0l2wCtCMooiCkSpZnOWeWcCCK9EDhcewoMMWzWdu9YOetLmikezLSvxqS 1a/aM2GUgDlLCXvf5cc+eO87MaeR4qW2wfNwMZUc= From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/29832] New: probe python.function.entry does not get hits (while .return does) Date: Mon, 28 Nov 2022 12:31:44 +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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29832 Bug ID: 29832 Summary: probe python.function.entry does not get hits (while .return does) 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: --- With both systemtap-4.8-1.fc38 and the upstream git commit 342e5ec5619066f227ff9c3a5c, probe python.function.entry isn't getting hits, while respective .return pr= ob gets hit just fine: # cat test.py=20 import random, time print(random.random()) time.sleep(3) # stap -we 'probe process("/usr/lib*/libpython*.so*").mark("function__retur= n") {filename =3D user_string($arg1); if (filename =3D~ "random") {println(fil= ename) exit()}}' -c 'python3 ./test.py >/dev/null' /usr/lib64/python3.11/random.py # stap -we 'probe process("/usr/lib*/libpython*.so*").mark("function__entry= ") {filename =3D user_string($arg1); if (filename =3D~ "random") {println(fil= ename) exit()}}' -c 'python3 ./test.py >/dev/null' #=20 # This is with python3-3.11.0-1.fc38.x86_64. --=20 You are receiving this mail because: You are the assignee for the bug.=