Intel Silvermont support
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
Trying to run rr on a Silvermont CPU currently throws this error:
[FATAL /usr/src/packages/BUILD/rr-4.0.3/src/PerfCounters.cc:129:get_cpu_microarch() errno: 0 'Success']
-> CPU 0x30670 unknown.
I have looked the manual posted in issue#1607 but I have no clue if the PMU config values are safe to try out as is. Any hint on that regard would be welcome. I am happy to test it here.
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 in src/PerfCounters.cc at get_cpu_microarch(), reported at line 129, and review the PMU configuration discussion in issue #1607. Determine the Silvermont CPU identification and required PMU values, then verify that rr no longer reports CPU 0x30670 as unknown and can run on that processor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- devtools, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100