-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Some DTrace probes are broken in 3.11 #98894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks, I'll take a look at this soon. |
I am seeing the same behaviour on illumos with the function-entry dtrace probe - it's firing but not for much, and not for functions defined in the test program. The dtrace tests fail.
Edit: the
|
Hi, could this issue be also the reason why following systemtap probe is not printing anything for python3.11? Probe:
Simple python script
To reproduce run |
@brandtbucher, do you still intend to look at this? |
Probably not… this stuff seems to have changed quite a bit recently, and I was never too familiar with it in the first place. |
I took a look at this yesterday in 3.12 as part of my current effort to package 3.12 for OpenIndiana (illumos) and I got the function entry/exit probes restored and working well enough to pass the test_dtrace.py test. I'll share when I get a chance - I'm doing this with original dtrace on illumos (the open-source continuation of opensolaris) but it would likely also work for those who want to use these probes via systemtap. |
As I mentioned in #104280 I have the function-entry and function-return probes restored in https://github.com/Bill-Sommerfeld/cpython/tree/dtrace-3.12 I'd appreciate it if others could give it a look. |
Crash report
I've been using eBPF with the static markers in Python 3.10 and wanted to try out 3.11 now that it is released.
But it seems that the
function__entry
andline
markers are broken in 3.11.The
function__entry
probe simply does not fire into the eBPF program.The
line
probe crashes the interpreter.I'm using BCC to load the eBPF program like this:
If I don't enable the
line
probe this is the output:The entry message is never printed.
Error messages
With the
line
probe enabled, this is the crash error:Expected result
Running the same test in 3.10.6 I get this result, as expected:
Your environment
I used the head of the 3.11 branch with
./configure --with-dtrace --with-pydebug
On Ubuntu 22.04.
Linked PRs
function__return
andfunction__entry
dTrace probe missing afterGH-103083
#125019The text was updated successfully, but these errors were encountered: