collect_profile
Collect bounded perf profiles (record, stat, sched, lock, off-CPU) with explicit server and per-call authorization for evidence-driven Linux performance analysis.
Instructions
Run bounded perf record/stat/sched/lock/off-CPU collection only after explicit server and per-call authorization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| mode | No | record | |
| events | No | ||
| call_graph | No | dwarf | |
| executable | No | ||
| output_path | Yes | ||
| frequency_hz | No | ||
| authorization | Yes | ||
| timeout_seconds | No | ||
| duration_seconds | No | ||
| max_output_bytes | No | ||
| target_arguments | No | ||
| pid_authorization | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ||
| summary | Yes | ||
| artifact_id | Yes | ||
| artifact_type | Yes | ||
| schema_version | No | 1.0 |