Post

Replies

Boosts

Views

Activity

CPU Profiler and CPU Counters fail on Apple M6: configureHardwareCounters cannot set the KPC configuration on macOS 27
Hi, I’m encountering an issue when profiling an application with xctrace and Instruments on macOS. When I try to record a trace using either the CPU Profiler or CPU Counters template, the recording fails with the following error: Failed to start the recording: configureHardwareCounters: Failed set kpc configuration: Operation not permitted. The issue was also present in the previous macOS 27.0 build (26A428) and remains after updating to macOS 27.0.1 (26A434) System: Apple M6 Mac mini macOS 27.0.1, build 26A434 Xcode 27.0, build 27A266a
6
1
391
2d
CPU Profiler and CPU Counters fail on Apple M6: configureHardwareCounters cannot set the KPC configuration on macOS 27
Hi, I’m encountering an issue when profiling an application with xctrace and Instruments on macOS. When I try to record a trace using either the CPU Profiler or CPU Counters template, the recording fails with the following error: Failed to start the recording: configureHardwareCounters: Failed set kpc configuration: Operation not permitted. The issue was also present in the previous macOS 27.0 build (26A428) and remains after updating to macOS 27.0.1 (26A434) System: Apple M6 Mac mini macOS 27.0.1, build 26A434 Xcode 27.0, build 27A266a
Replies
6
Boosts
1
Views
391
Activity
2d