Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#6778: Gracefully handle too few drcachesim cpus
Adds a check with an error message for too few simulated drcachesim cpus with a core-sharded-on-disk trace. Adds a unit test which crashes without the fix. Also tested manually: Before: $ bin64/drrun -t drcachesim -indir ../src/clients/drcachesim/tests/drmemtrace.threadsig-core-sharded.x64.tracedir/ -cores 3 Segmentation fault After: $ bin64/drrun -t drcachesim -indir ../src/clients/drcachesim/tests/drmemtrace.threadsig-core-sharded.x64.tracedir/ -cores 3 ERROR: failed to run analyzer: Too-small core count 3 for trace core #3 Fixes #6778
- Loading branch information