Skip to content
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

YJIT: Allow tracing a counted exit #9890

Merged
merged 2 commits into from
Feb 8, 2024
Merged

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Feb 8, 2024

This PR adds --yjit-trace-exits=COUNTER which allows you to trace a specific counted exit.

By default, --yjit-trace-exits counts all exits, so it's unclear why each instruction exited since every type of exits is mixed up. This option allows you to filter out unrelated kinds of exits and focus on a particular exit. It can also speed up the tracing process if there are too many unrelated exits.

@matzbot matzbot requested a review from a team February 8, 2024 22:42
@k0kubun k0kubun merged commit 5cbca91 into ruby:master Feb 8, 2024
97 checks passed
@k0kubun k0kubun deleted the yjit-tracer branch February 8, 2024 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants