bpftrace (DTrace 2.0) for Linux 2018
Brendan Gregg
OCTOBER 8, 2018
Screenshot: tracing read latency for PID 181: # bpftrace -e 'kprobe:vfs_read /pid == 30153/ { @start[tid] = nsecs; } kretprobe:vfs_read /@start[tid]/ { @ns = hist(nsecs - @start[tid]); delete(@start[tid]); }'. Here's key differences as of August 2018: Type DTrace bpftrace. ply is also C, whereas bpftrace is C++. #
Let's personalize your content