uprof_report_hotspots
Identify the most time-consuming functions in a uProf result, ranked by sample share. Optionally exclude system modules to focus on application code and spot bottlenecks.
Instructions
Top-N hottest functions of a stored result, sorted by sample share descending.
top_n is clamped to 100; row_count_total and truncated say whether more
rows exist. ignore_system_modules=true re-runs the report excluding kernel
and system libraries so application code stands out. Start with the defaults.
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": {
"result_id": "<result_id>"
},
"name": "uprof_report_hotspots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| result_id | Yes | ||
| ignore_system_modules | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| notes | Yes | ||
| metric | Yes | ||
| result_id | Yes | ||
| truncated | Yes | ||
| total_value | Yes | ||
| row_count_total | Yes |