r5101c4 not available through VMWare Workstation 14
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
I'm attempting to utilize rr on my VMWare Workstation 14 machine, however it appears that it does not expose the perf counter type that you expect. Specifically, I'm finding the following:
perf stat -e r5101c4 -e r2005101c4 true
Performance counter stats for 'true':
0 r5101c4
89,743 r2005101c4
0.000609690 seconds time elapsed
This is causing the perf command to abort on any attempt at running. Is there a way I can still use rr?
Edit: I should mention that Virtualize CPU Performance Counters is enabled. Also:
uname -a
Linux ice 4.15.0-44-generic #47-Ubuntu SMP Mon Jan 14 11:26:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
And the CPU is: Intel(R) Core(TM) i7-7740X CPU
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 by reproducing the reported perf commands in VMware Workstation 14 with Virtualize CPU Performance Counters enabled, using the listed Ubuntu 18.04 kernel and Intel i7-7740X details. Compare the unavailable r5101c4 counter with r2005101c4 and determine whether rr can run in this environment or what supported workaround is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100