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

Add -detach_after_tracing feature to drcachesim #5022

Open
derekbruening opened this issue Jul 21, 2021 · 0 comments
Open

Add -detach_after_tracing feature to drcachesim #5022

derekbruening opened this issue Jul 21, 2021 · 0 comments

Comments

@derekbruening
Copy link
Contributor

For a limited-duration trace, we first implemented -max_trace_size, but it's kind of useless outside of tests as it's per-thread. We later added -exit_after_tracing, but it doesn't work well with some setups where we have logic inside the app (typically using static-linked drcachesim) that needs to take some steps after DR exits. We also have -max_global_trace_refs but it has a time gap problem: #5021. For our use case what we want is a detach when a max size is reached. This requires #2644.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant