rr-debugger / rr-debugger/rr

FR: user-friendly message for unsupported (unknown) processor

Open
#3,623 0 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

rr won't work on [a bunch of systems], see https://github.com/rr-debugger/rr#system-requirements

rr currently requires either:

It is likely better for [the CPU type unknown] error message to include the link above, along with a nice user message "rr only works on a specific sets of processors...." (similar as it is done for /proc/sys/kernel/perf_event_paranoid - actually that message doesn't have a link to the wiki [it has a user-friendly message already] but adding a link there could be useful, too).

Originally posted by @GitMensch in https://github.com/rr-debugger/rr/issues/3582#issuecomment-1737992496

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 at the CPU type unknown error path and compare its wording with the existing /proc/sys/kernel/perf_event_paranoid message. Update the unsupported-processor output to explain the supported processor sets and link to the rr system requirements, then verify the resulting message in the relevant error-handling tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.