Skip to content
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

Virtualized performance counters are apparently no longer possible on macOS Big Sur #2897

Open
tbodt opened this issue Jun 14, 2021 · 6 comments

Comments

@tbodt
Copy link
Contributor

tbodt commented Jun 14, 2021

Is there any possibility of rr working in any way in a VM on Big Sur? It seems virtualized performance counters are no longer supported?

@rocallahan
Copy link
Collaborator

I haven't touched a Mac for years and neither has Kyle AFAIK so some Mac user will have to investigate this. To be clear, which hypervisor are you talking about?

@tbodt
Copy link
Contributor Author

tbodt commented Jun 14, 2021

VMWare. In fairness I haven't tried others.

@jryans
Copy link

jryans commented Aug 5, 2021

AFAICT, the other VM platforms never supported virtualised performance counters. As I understand it, macOS Big Sur no longer allows the kernel extensions VMWare used for advanced features like this, and instead they must only use Apple's user level Hypervisor framework, and I assume it doesn't support performance counters. I believe that means waiting for Apple to possible add such a feature in the future, and who knows if that will ever happen (esp. given the developer market doesn't seem that important to them). 😓

@tbodt
Copy link
Contributor Author

tbodt commented Aug 5, 2021

Gotcha, so I have to turn off SIP and patch/force the VMWare kext to load. Might try that sometime

@vjpr vjpr mentioned this issue Jul 16, 2022
@GitMensch
Copy link
Contributor

Gotcha, so I have to turn off SIP and patch/force the VMWare kext to load. Might try that sometime

@tbodt Any update on this? It seems that the wiki may need some update / instructions how to get that working and then this issue can be closed.

@tbodt
Copy link
Contributor Author

tbodt commented Aug 28, 2023

I ended up upgrading to an m1 and installing macos 10.15 on my old laptop which i now use whenever i want to run rr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants