A thorough introduction to bpftrace
Brendan Gregg
AUGUST 18, 2019
bpftrace uses BPF (Berkeley Packet Filter), an in-kernel execution engine that processes a virtual instruction set. hardware Hardware counter-based instrumentation. Kernel dynamic tracing of read() bytes bpftrace -e 'kretprobe:vfs_read { @bytes = lhist(retval, 0, 2000, 200) }'. usdt User-level statically defined tracing.
Let's personalize your content