Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Processor Trace not Working on C/C++ Console Apps

Hi,

When I run the new Processor Trace instrument on a simple C or C++ console app, it hangs in "Analyzing - Transferring data" upon finishing the measurement. When I run it without any other instrument, I get the error:

Failed to stop recording session: Data Providers emitted errors: CPUTrace

Any ideas what I could try, or how to get a more verbose log of this failure?

Best, Ronny

P.S.: I'm using a Macbook Pro M4 Pro 14". MacOs Version 15.4 Beta (24E5228e)

Hi Ronny,

Great to see you're trying out the new template and technology. To figure out what is happening here would really need a sysdiagnose. Could you file a Feedback here and upload one with it. If you reply here with the Feedback number we can find it more easily as well.

Thanks

done. Feedback number: 16864410

It's because you don't have get-task-allow. Sign the binary with that entitlement and it will work.

Processor Trace not Working on C/C++ Console Apps
 
 
Q