xctrace_record
Record an Instruments trace using a specified template to analyze system performance and app behavior. Attach to processes or launch commands for targeted profiling.
Instructions
Record a new Instruments trace using the specified template.
Args: template: Template name or path to use for recording output_path: Path to save the trace file device: Device name or UDID to record on time_limit: Time limit for recording (e.g., '5s', '1m') all_processes: Record all processes on the system attach_process: Process name or PID to attach to launch_command: Command and arguments to launch and record
Returns: Recording result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | ||
| output_path | No | ||
| device | No | ||
| time_limit | No | ||
| all_processes | No | ||
| attach_process | No | ||
| launch_command | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |