-
Notifications
You must be signed in to change notification settings - Fork 17
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
bpftrace syntax generated gives error on Debian testing or sid #2
Comments
Thanks for reporting! Unfortunately I'm not able to reproduce with the same version
And I'm not sure why parsing that expression would be different in a newer bpftrace version. Could you 1) include the full log line (with the full bpftrace expression) that is causing the error and 2) mention any steps you took to get the error? If you can get it to repro on the demo program or some binary that I can also try, that would be best. |
|
Thanks for bearing with me (and also mentioning the fix)! This should now be fixed, let me know if that's not the case. |
wachy
generates a eBPF program containing@duration_tmp139[tid] += nsecs - @start139[tid];
which causes:(the character count of course varies)
This code works on earlier bpftrace versions, e.g. tested with v0.9.4.
Changing the offending code segment to
@duration_tmp139[tid] += (nsecs - @start139[tid]);
makes it work again with bpftrace v0.14.1 as found in Debian testing and sid at the moment./DLange (@debian.org)
The text was updated successfully, but these errors were encountered: