Replies: 2 comments 1 reply
-
no, sadly you're right. I think it went unnoticed as its not a common thing to do (IMO). I'll get a fix out |
Beta Was this translation helpful? Give feedback.
1 reply
-
bpftrace 0.13.1 fixing this issue has just been released to Fedora 35. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With bpftrace 0.12.1 packaged in Fedora 34, and kernel version 5.15.8, multiplication is applied before addition, in the usual way:
But using packaged bpftrace 0.13.0 on Fedora 35, with the same kernel version, the expression is evaluated left-to-right:
Because it seems so unlikely that this could change without anyone else noticing, I'm a bpf novice, and I haven't set up an environment to build bpftrace from source and bisect it, it didn't feel right to report this as a bug.
Beta Was this translation helpful? Give feedback.
All reactions