Derek Bruening

Results 194 issues of Derek Bruening

Many drmemtrace scheduler routines have big conditionals dispatching on mapping options. We may be able to simplify the code if we refactor to use subclasses or templates to specialize scheduler...

Maintainability
Component-DrMemtrace

The drmemtrace scheduler currently has support for TRACE_MARKER_TYPE_DIRECT_SWITCH but it does not fully model "unscheduled" threads which will not run until explicitly woken up by another thread. This issue covers...

Component-DrMemtrace

We added a -record_syscall feature to drmemtrace but which syscalls are traced is not recorded anywhere today. It is useful to know up front which syscalls were traced; knowing their...

Type-Feature
Component-DrMemtrace

Adds the migration count to the new scheduler stats. Adds checks of the count to various unit tests. Issue: #6938

Today the drcachesim default is still the old static round-robin assignment of threads to cores. We should change the default to be core_serial to use the scheduler. There are complexities...

Hotlist-Release
Component-DrMemtrace

Hit a timeout in the drstatecmp-fuzz test on a64: https://github.com/DynamoRIO/dynamorio/actions/runs/10586853907/job/29336444651?pr=6943 ``` 363/386 Test #317: code_api|tool.drcachesim.drstatecmp-fuzz .........................***Timeout 180.00 sec ```

Bug-Hang
OpSys-AArch64

I hit this in PR #6941 where the syntax got set to DR_DISASM_ATT and then the view test crashed on its regdeps case. This crash will happen anytime regdeps is...

Component-IR

Today the drmemtrace scheduler is not preferring to keep an input on the same core it last ran on. This issue covers measuring the migration statistics and probably adding some...

Component-DrMemtrace

One bug that occurred to me while analyzing #2335 is: the mask for a native thread could have SIGSEGV blocked, meaning the safe_read_tls_magic fault could be unhandled. Of course SIGUSR2...

OpSys-Linux
Bug-AppCrash

api.startstop failed on a64 in a way I don't think we've seen before, in PR #6925 (which makes no changes to core DR): https://github.com/DynamoRIO/dynamorio/actions/runs/10483334564/job/29035878258?pr=6925 ``` 349: Test command: /opt/actions-runner/_work/dynamorio/dynamorio/build/build_debug-internal-64/bin64/runstats "-s"...

Bug-DRCrash
OpSys-AArch64