bcc
bcc copied to clipboard
libbpf-tools: Add javagc monitor
Now usdt tracing has been supported in libbpf, so we add the javagc monitor as an example with this feature. Normally, you can use the command "readelf -n binary" to find the usdt in the binary. The javagc tracing result like this: Tracing javagc time... Hit Ctrl-C to end. time:20:15:08, cpu:3, pid:90640, gc time(us):33764 time:20:16:29, cpu:1, pid:90640, gc time(us):42339 time:20:18:10, cpu:0, pid:90640, gc time(us):30843
Signed-off-by: chentao.ct [email protected]
Thank you for your comments! @chenhengqi