New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FATAL /home/roc/rr/rr/src/PerfCounters.cc:203:start_counter() errno: ENOENT] #1753
Comments
Did you try |
|
It looks like, as the error messages suggest, hardware performance counters are not enabled on your system. Try |
You're right. I should mention this is a virtualbox Ubuntu VM.
|
Ah. As noted here, VirtualBox doesn't support PMU virtualization currently and therefore can't run rr. Sorry! |
I am seeing same issue on my setup too... Any idea root@<>:~/Desktop/tmp# dmesg | grep PMU |
root@<>:~/Desktop/tmp# rr record /usr/bin/clinfo |
rr does not work on any AMD microarchitecture. See #2034. |
I'm also having no joy, under VMWare:
|
Some machines, mainly VMs, may lack hardware support for cpu-cycles counter. However, it is no reason not to support them: there may be a similar software event available: PERF_COUNT_SW_CPU_CLOCK. The idea is taken from the kernel-provided `perf` utility, function `evsel__fallback` at evsel.c file. Fixes: rr-debugger#2815, rr-debugger#1753 Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Some machines, mainly VMs, may lack hardware support for cpu-cycles counter. However, it is no reason not to support them: there may be a similar software event available: PERF_COUNT_SW_CPU_CLOCK. The idea is taken from the kernel-provided `perf` utility, function `evsel__fallback` at evsel.c file. Fixes: rr-debugger#2815, rr-debugger#1753 Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
@mikepurvis the #2816 should fix the problem. |
Getting this core dump on Ubuntu in a VM:
The text was updated successfully, but these errors were encountered: