samply inspect thread
samply_inspect_threadInspect a single profiled thread to identify high-cost functions and common call stacks, using a thread index or name substring for targeted CPU performance analysis.
Instructions
Inspect one thread in detail, including its hottest functions and most common stacks. The thread argument accepts either the numeric thread index from samply_summarize_profile or a thread name substring.
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": {
"thread": "<thread>"
},
"name": "samply_inspect_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread | Yes | Thread index or thread name / substring. | |
| maxStacks | No | Maximum number of representative stacks to include. | |
| maxMarkers | No | Maximum number of marker categories to include. | |
| profilePath | No | Path to a profile JSON or JSON.GZ file. | |
| maxFunctions | No | Maximum number of hot functions to include. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread | Yes | ||
| profilePath | Yes | ||
| sidecarPath | Yes | ||
| presymbolicated | Yes |