pub fn run_trace(query: TraceQuery) -> Result<Option<CallTree>>Expand description
Orchestrates the call graph tracing process
This function:
- Finds the starting function definition
- Extracts function calls or callers based on the direction
- Builds a call graph tree up to the specified depth
§Arguments
query- Configuration for the trace operation
§Returns
A CallTree representing the call graph, or None if the start function is not found.