analyze_call_tree_path
Find all callers of a specific function in a V8 CPU profile and see how often each invokes it, revealing the code paths that contribute to slowdowns.
Instructions
Finds all callers of a specific function in a V8 CPU profile and returns how often each caller invoked it. Accepts partial, case-insensitive function name matching. Use to answer: what is calling my slow function and how many times?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_callers | No | Number of top callers to return (default: 5) | |
| profile_path | Yes | Absolute path to the .cpuprofile file | |
| function_name | Yes | Function name to search for (partial match, case-insensitive) |