How to profiling an app in production?

We are looking for a complete solution of do performance tracing. One key point is to be able to run the perf trace in production environment.

We have been using os_signpost in our app. We know how to use xctrace to record a perf report in our dev environment.

We need a way run the perf trace on customer end. However, asking a customer to install a 10GB+ xcode is not practical.

My 2 questions are:

  1. Is there a standalone version of Instruments or a command line tool that is small enough to download and run on customer mac to do the os_signpost tracing?
  2. If there is no such tool, is it possible to use some sort of APIs to create a such tool myself?

Regards Liam

How to profiling an app in production?
 
 
Q