FR: user-friendly message for unsupported (unknown) processor
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:
- An Intel CPU with Nehalem (2010) or later microarchitecture.
- Certain AMD Zen or later processors (see https://github.com/rr-debugger/rr/wiki/Zen)
- Certain AArch64 microarchitectures (e.g. ARM Neoverse N1 or the Apple Silicon M-series)
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
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
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