Discuss How to use instruments with system app? at the iPhone Developer Exchange - Hackint0sh.org; Hi,
I need to investigate resource use (including memory use, etc) by various apps on ...
-
How to use instruments with system app?
Hi,
I need to investigate resource use (including memory use, etc) by various apps on my jailbroken iPad 4.2.1. I tried to use Instruments from SDK. The Instruments can either start an app or attach to a running process. But this only works on my own apps. I can neither start now attach to a system or appstore app. I moved some system apps from 'System' to 'User' section and replaced 'ApplicationType = System' by ApplicationType = User' in
/User/Library/Caches/com.apple.mobile.installation.plist. After that Instruments enabled this app in its "Attach to process"
and "Choose Target" menu, but attempt to launch or attach to that app still fails with error messages like "Failed to launch process with bundle identifier xxxx" or 'Failed to get task for pid 180'. Note that I can attach to any app in gdb, but not in Instruments.
So, do you know what is the difference between a system (or appstore) app and homegrown app? Is it a signature? Some plist entry? Some system call?
Another question: are there tools, besides Instruments, to monitor memory and other resource use by an app?
Thank you
-
-

Originally Posted by
JGR
Hi,
I need to investigate resource use (including memory use, etc) by various apps on my jailbroken iPad 4.2.1. I tried to use Instruments from SDK. The Instruments can either start an app or attach to a running process. But this only works on my own apps. I can neither start now attach to a system or appstore app. I moved some system apps from 'System' to 'User' section and replaced 'ApplicationType = System' by ApplicationType = User' in
/User/Library/Caches/com.apple.mobile.installation.plist. After that Instruments enabled this app in its "Attach to process"
and "Choose Target" menu, but attempt to launch or attach to that app still fails with error messages like "Failed to launch process with bundle identifier xxxx" or 'Failed to get task for pid 180'. Note that I can attach to any app in gdb, but not in Instruments.
So, do you know what is the difference between a system (or appstore) app and homegrown app? Is it a signature? Some plist entry? Some system call?
Another question: are there tools, besides Instruments, to monitor memory and other resource use by an app?
Thank you
I am curious if you were able to figure this out?
-
Similar Threads
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 08-26-2011, 06:00 AM
-
By yaren in forum Genuine Mac Support
Replies: 1
Last Post: 05-02-2011, 02:19 PM
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 08-16-2010, 11:10 PM
-
By mounir92 in forum Hardware
Replies: 1
Last Post: 08-06-2009, 03:09 PM
-
By resetario in forum Free Toolchain Software
Replies: 6
Last Post: 11-28-2007, 07:26 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks