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

i#4462: Add new global memtrace size limit #4479

Merged
merged 4 commits into from
Oct 8, 2020

Conversation

derekbruening
Copy link
Contributor

Adds a new drcachesim memtrace option -max_global_trace_refs to supply
a global trace size limit that does not kill the process. When the
maximum is reached, the tracer omits traces for new threads entirely.

Add an online and an offline test for the feature.

Adds documentation.

Fixes #4462

Adds a new drcachesim memtrace option -max_global_trace_refs to supply
a global trace size limit that does not kill the process.  When the
maximum is reached, the tracer omits traces for new threads entirely.

Add an online and an offline test for the feature.

Adds documentation.

Fixes #4462
@derekbruening
Copy link
Contributor Author

run arm tests

@derekbruening
Copy link
Contributor Author

a64 is drwrap detach test which we now know sometimes hangs (see #4467 (comment)) b/c a64 detach is still not solid (#1578). Re-running.

clients/drcachesim/common/options.cpp Outdated Show resolved Hide resolved
clients/drcachesim/tracer/tracer.cpp Outdated Show resolved Hide resolved
clients/drcachesim/tracer/tracer.cpp Outdated Show resolved Hide resolved
suite/tests/CMakeLists.txt Show resolved Hide resolved
clients/drcachesim/tracer/tracer.cpp Outdated Show resolved Hide resolved
clients/drcachesim/tracer/tracer.cpp Show resolved Hide resolved
clients/drcachesim/tracer/tracer.cpp Outdated Show resolved Hide resolved
clients/drcachesim/tracer/tracer.cpp Outdated Show resolved Hide resolved
clients/drcachesim/tracer/tracer.cpp Show resolved Hide resolved
…per for existing trace_max checks; rename helper; add regex on instr count to test; augment reattach comment
@derekbruening
Copy link
Contributor Author

A64 failure is client.drwrap-test-detach which is #1578 which PR #4480 will re-disable.

@derekbruening derekbruening merged commit 8f377b1 into master Oct 8, 2020
@derekbruening derekbruening deleted the i4462-global-memtrace-limit branch October 8, 2020 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add drcachesim global trace duration limit that does not kill the process
2 participants