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