List GPU Trace shader occupancy
list_gpu_trace_shader_occupancyInspect per-shader occupancy from GPU trace reports to identify shaders with low warp utilization, using filters for marker ranges and occupancy thresholds.
Instructions
Page through per-shader PC-sampler occupancy rows for the full trace or one marker range. Returns the exact exported shader name/hash and aggregate warps/occupancy; stage is explicitly heuristic.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"report_id": "<report_id>"
},
"name": "list_gpu_trace_shader_occupancy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| range_id | No | Marker range id returned by list_gpu_trace_ranges. | |
| report_id | Yes | GPU Trace report session id returned by collect_gpu_trace_report or open_gpu_trace_export. | |
| shader_regex | No | ||
| include_inactive | No | ||
| minimum_occupancy_percent | No |