inspect_collection_capabilities
Check perf, kernel policy, and collection-mode availability without sampling or attaching to a process, so you can verify which performance analysis options are usable.
Instructions
Inspect perf, kernel policy, capabilities, and collection-mode availability without sampling or attaching to a process.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modes | Yes | ||
| platform | Yes | ||
| warnings | No | ||
| perf_version | No | ||
| ptrace_scope | No | ||
| capability_id | Yes | ||
| effective_uid | Yes | ||
| kptr_restrict | No | ||
| kernel_release | Yes | ||
| schema_version | No | 1.0 | |
| perf_executable | No | ||
| recommendations | No | ||
| tracefs_accessible | Yes | ||
| hardware_pmu_reason | No | ||
| hardware_pmu_status | No | unknown | |
| perf_event_paranoid | No | ||
| effective_capabilities | No | ||
| perf_file_capabilities | No | ||
| software_counting_status | No | unknown | |
| software_sampling_status | No | unknown |