get_stacks
Resolve call stacks for CUDA/driver operations to identify code paths causing latency. Returns top stacks with symbols, source files, and timing stats.
Instructions
Get resolved call stacks for CUDA/driver operations. Returns top stacks by frequency with symbol names, source files, and timing stats. One call answers 'what code path caused this operation?' For older DBs without resolved symbols, falls back to raw IPs (hex addresses).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Operation name (e.g. cudaMalloc, cuLaunchKernel) | |
| pid | No | Process ID filter | |
| tsc | No | telegraphic compression (default: true) | |
| limit | No | Max stacks returned (default 10) | |
| since | No | Time window relative to NOW (e.g. 5m, 1h). Omit for saved/offline DBs to query ALL data. | |
| source | No | Source filter: 1=CUDA, 3=HOST, 4=DRIVER |