[Performance-Instruments] Use Instrument from Command-line failed
Hi, guys,
I am new to Mac and Iphone stuff. What I want to do is to use Instrument to do client performance/stress testing. Mainly there are two questions.
First of all, when I want to start instruments from command-line like:
instruments -t "/MyTemplate.tracetemplate" -d /Result.trace -a /My.app
But it will fail if my template(MyTemplate.tracetemplate) contains any instrument beside ObjectAlloc and Leaks. The error on terminal message is "Segmentation fault", and there will be a crash report in Console/CrashReporter. But it's hard to find any useful info from there.
Anyone has experienced this? I can't automated my testing if I can't start instrument from command-line using most of the useful instrument like "CPU Monitor", "Memory Monitor".
Yours, Dong
I am new to Mac and Iphone stuff. What I want to do is to use Instrument to do client performance/stress testing. Mainly there are two questions.
First of all, when I want to start instruments from command-line like:
instruments -t "/MyTemplate.tracetemplate" -d /Result.trace -a /My.app
But it will fail if my template(MyTemplate.tracetemplate) contains any instrument beside ObjectAlloc and Leaks. The error on terminal message is "Segmentation fault", and there will be a crash report in Console/CrashReporter. But it's hard to find any useful info from there.
Anyone has experienced this? I can't automated my testing if I can't start instrument from command-line using most of the useful instrument like "CPU Monitor", "Memory Monitor".
Yours, Dong
Mac Mini, Mac OS X (10.5.6)