I am running into the same exact issue when I try to count l1d load misses:
Unexpected failure: Couriers have returned unexpectedly.
Failed to start the recording: configureHardwareCounters: Failed set kpc configuration: Operation not permitted.
But it works when I just count the cycles.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: