public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/29832] New: probe python.function.entry does not get hits (while .return does)
@ 2022-11-28 12:31 mcermak at redhat dot com
  2022-12-12 12:11 ` [Bug runtime/29832] " mcermak at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mcermak at redhat dot com @ 2022-11-28 12:31 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=29832

            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 prob
gets hit just fine:

# cat test.py 
import random, time
print(random.random())
time.sleep(3)
# stap -we 'probe process("/usr/lib*/libpython*.so*").mark("function__return")
{filename = user_string($arg1); if  (filename =~ "random") {println(filename)
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 = user_string($arg1); if  (filename =~ "random") {println(filename)
exit()}}' -c 'python3 ./test.py >/dev/null'
# 
#

This is with python3-3.11.0-1.fc38.x86_64.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-14  8:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-28 12:31 [Bug runtime/29832] New: probe python.function.entry does not get hits (while .return does) mcermak at redhat dot com
2022-12-12 12:11 ` [Bug runtime/29832] " mcermak at redhat dot com
2022-12-12 12:22 ` mcermak at redhat dot com
2022-12-13  9:28 ` mcermak at redhat dot com
2022-12-13 16:22 ` mcermak at redhat dot com
2022-12-14  8:31 ` mcermak at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).