ucalls: Summarize method calls with USDT
`ucalls` is a new tool that uses the USDT probes in high- level languages (Java, Python, Ruby) to summarize the number of method calls and optionally their latency. This is similar to `funccount` and `funclatency` but for methods in Java, Python, Ruby, and other languages that might have USDT probes for method entry and exit. `ucalls` uses the `method__entry` and `method__return` probes in Java and Ruby, and the `function__entry` and `function__return` probes in Python. The Python probes are not as accurate because they do not report the class name, but are still useful. The optional `-L` switch indicates whether latency numbers are required. By default, only the number of calls to each method is printed. The `-T` switch filters out the top methods (by number of calls or total latency).
Showing
tools/ucalls.py
0 → 100755
Please register or sign in to comment