0

I would like to check CPU counters by Instruments for A17 Pro (iPhone 15 Pro, iOS 17.0), but it shows unsupported on 'Recording Options' -> 'CPU Name'. Anyone meet the same situation? or it is happened only for me?

I tried these versions of Instruments with different iOS version.

iOS 17.0

(1) 15.0 (15A240d)

iOS 17.1

(1) 15.0.1 (15A507)

iOS 17.4

(1) 15.3 (15F31d)

iOS 17.5

(1) 15.3 (15F31d)

asked Oct 23, 2023 at 10:44
1

1 Answer 1

1

starting with iOS 17 and Xcode 15, Xcode copies files from /Applications/Xcode.app/Contents/Resources/CoreDeviceDDIs/iOS_DDI.dmg to the device. This image doesn't include the CPU database, leading to Instruments.app reporting a lack of CPU support.

kperfdata.framework still works on iOS 17. So if you can copy the necessary files to either /usr/share/kpep/ or /usr/local/share/kpep/, Instruments.app should continue to work as expected. But the regular app doesn't have write access to these two folders. Hope Apple can fix it.

Here is a list of A17 pro's PMCs event-key that I extracted from XNU kernel build https://gist.github.com/junjie1475/897e2733a345d5a0bcff56e95c94c4bf.

answered Oct 27, 2023 at 10:16
Sign up to request clarification or add additional context in comments.

1 Comment

Great information! If device is not rooted, how to write file to these two folders?

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.