rr-debugger / rr-debugger/rr

Investigate isolating rr tracees in their own pid namespace

Open
#607 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

There's some fairly nontrivial code spent on ensuring that tracees see the same tid across record/replay, and a bit of logic keeping recorded/replayed tids straight. We could theoretically eliminate that code by running tracees in their own tid namespace. This could also simplify #603 and the upcoming chronicle recording.

A problem is that something like rr record ps -e would behave differently than ps -e, which is an anti-goal. So not sure atm if this is worth it (probably not).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing tracee TID handling and the related discussion in #603. Compare the behavior of rr record ps -e with ps -e, and consider the impact on chronicle recording. Done means reaching a decision on whether PID namespaces can simplify the implementation without changing observable process behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
operating-systems
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.