Deferred recording with full CPU multithreading before recording
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
This is a feature which Undo supports and I was hoping would get implemented into rr some day.
If the failure point is known to happen after a significant amount of multithreaded processing, it makes sense not to instrument/record that part and let the app run natively at full speed, utilizing all the CPU cores.
Then we can break before failure and start recording. Undo achieves this by having the user launch their interactive gdb session with a deferred recording option; the binary is then run with full speed; we break before failure, and issue a command which starts recording and makes us single-threaded and incur the recording performance hit. When time-travel debugging, it is obviously not possible to go before the start of recording, which is event 0.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by examining rr's interactive GDB session, the run command, and the command that starts recording; done would mean running natively before the chosen point, starting recording there, and treating that point as event 0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- devtools, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100