bcc icon indicating copy to clipboard operation
bcc copied to clipboard

libbpf-tools: Add javagc monitor

Open chentao-kernel opened this issue 3 years ago • 1 comments

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]

chentao-kernel avatar Jun 30 '22 02:06 chentao-kernel

Thank you for your comments! @chenhengqi

chentao-kernel avatar Jun 30 '22 09:06 chentao-kernel