Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bounded loop support #2

Open
brendangregg opened this issue Dec 17, 2019 · 0 comments
Open

bounded loop support #2

brendangregg opened this issue Dec 17, 2019 · 0 comments

Comments

@brendangregg
Copy link
Contributor

Great work developing this!

I see it uses many unroll() loops. Linux 5.3 added bounded loops, which would greatly reduce the instruction count bpftrace generates, plus allow us to implement for and while loops. See bpftrace/bpftrace#872

Once that's done, bpftrace-tetris can either use the new loop syntax (for, while), or at least, the generated instructions from unroll() should be a lot less. Just adding this ticket as a reminder that we do need to do issue 872 on bpftrace.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant