samply breakdown subsystems
samply_breakdown_subsystemsGroups hot functions by Rust or C++ namespace prefix to show which native subsystems dominate a profile, so agents can target optimization in native-heavy builds.
Instructions
Group hot functions by Rust / C++ namespace prefix so agents can identify which native subsystems dominate a profile. This is useful for Rspack and other native-heavy builds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "samply_breakdown_subsystems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional case-insensitive filter applied to function names and resources before grouping. | |
| thread | No | Optional thread index or name filter. | |
| maxGroups | No | Maximum number of subsystem groups to return. | |
| profilePath | No | Path to a profile JSON or JSON.GZ file. | |
| resourceQuery | No | Optional case-insensitive filter applied to resource / library names before grouping. | |
| prefixSegments | No | How many namespace segments to keep when building subsystem names. | |
| maxThreadsPerGroup | No | Maximum number of thread breakdown entries to keep for each group. | |
| maxExamplesPerGroup | No | Maximum number of example functions to keep for each group. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| groups | Yes | ||
| groupCount | Yes | ||
| profilePath | Yes | ||
| sidecarPath | Yes | ||
| resourceQuery | Yes | ||
| prefixSegments | Yes | ||
| presymbolicated | Yes | ||
| totalGroupedSelfSamples | Yes | ||
| totalGroupedStackSamples | Yes |