Post

Replies

Boosts

Views

Activity

Reply to Integrate performance profiling in another application
Hi @DTS Engineer , We're using these commands: trace record for generating system profiles osascript for pop-ups to get user’s machine password for admin privileges notifyutil to start/stop profiling scripts look like this: osascript -e 'do shell script "trace record test.atrc --plan profile --compress --end-after-duration 100s --end-on-notification end_profiling" with administrator privileges' // To generate .atrc file[which can be consumed by X-Code Instruments] osascript -e 'do shell script "notifyutil -p end_profiling"' These commands satisfy all our requirements. Now, we also want to know about the legal implications. Can we include these scripts inside our application and legally use them on customer machines to get profiling information and sudo password to run the trace tool?
Jun ’24
Reply to Integrate performance profiling in another application
Hi @DTS Engineer , We're using these commands: trace record for generating system profiles osascript for pop-ups to get user’s machine password for admin privileges notifyutil to start/stop profiling scripts look like this: osascript -e 'do shell script "trace record test.atrc --plan profile --compress --end-after-duration 100s --end-on-notification end_profiling" with administrator privileges' // To generate .atrc file[which can be consumed by X-Code Instruments] osascript -e 'do shell script "notifyutil -p end_profiling"' These commands satisfy all our requirements. Now, we also want to know about the legal implications. Can we include these scripts inside our application and legally use them on customer machines to get profiling information and sudo password to run the trace tool?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Integrate performance profiling in another application
Hi @DTS Engineer , I had one more query. Can we intergrate the trace command line utility in our application to do the profiling at customer side, till the time we get Xcode Instruments as separate executable? Something like this in terminal.``` sudo trace record test1.atrc --plan profile --compress
Replies
Boosts
Views
Activity
May ’24
Reply to Integrate performance profiling in another application
Hi @DTS Engineer , thanks for your response. I have created the Feedback Assistance request too. This is the number FB13806178.
Replies
Boosts
Views
Activity
May ’24