CPU Profiling with instruments fails to start

When trying to profile any process with the Instruments CPU Profiler I get this message: (Before run started) No allocated PMI record.

Not sure what to do here. I tried other instruments like time profile and that works fine so not sure what to do here... Didn't find any people having similar issues when googling so I'm hoping someone here can help me out.

Im using a m1 max 14 inch macbook pro with macOS 12.3 and instruments 13.0 (13A1030d)

Answered by Developer Tools Engineer in 707768022

Hi Ruben-elk!

We believe that this issue should be fixed in Instruments 13.3 (currently stable shipping version). Could you please try that out and let us know if it works for you?

Best,

Kacper

Oh great. Love when I find a huge problem in the latest Xcode and find threads going back several years revealing that it still hasn't been fixed.

iOS 18.2, Xcode 16.2

Can confirm it also affects CPU profiling on macOS on Apple Silicon.

macOS 15.3, Xcode 16.2, M4 Pro

Edit:

https://stackoverflow.com/questions/79311572/kpc-config-sysctl-call-returns-1-in-ibiremes-kpc-demo-on-m4-apple-silicon

Thanks, Apple! Looks like it's broken on the M4 too.

CPU Profiling with instruments fails to start
 
 
Q