i'm having the same problem, or one extremely similar.
On an M4 macbook, using instruments, the "CPU Profiler" template, when i press record, i get this:
before run started: Unexpected failure: Couriers have returned unexpectedly.
before run started: Failed to start the recording:
configureHardwareCounters: Failed set kpc configuration: Operation not permitted.
with no explanation, no "how to fix this" pointer, and internet search has no results
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: