Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

save .trace file to a different location

I'm running instruments from command line. In my command, i did specified the output path using

-e UIARESULTSPATH /user/xxxx

However, the files saved to the location above are plist liles. the .trace (ie. instrumentscli14.trace) files are automatically saved to the folder i save my scripts.

Do anyone know is there a way to save the .trace files to a custom location?

Thanks!

like image 844
Fish OnTray Avatar asked Oct 24 '25 00:10

Fish OnTray


2 Answers

Do anyone know is there a way to save the .trace files to a custom location?

Use the -D option, like this:

-D TestResults/TestTrace/theTrace.trace 
like image 67
landerton Avatar answered Oct 27 '25 03:10

landerton


I found that -D option is not working, but instruments saves trace file to current directory where you run command from..

like image 41
kviksilver Avatar answered Oct 27 '25 03:10

kviksilver



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!