notes on system tracing

§ Readings

Building usefull tools with eBPF: Part 2, Tracing the Locks in Linux Kernel - - Prathyush’s Blog
lock tracing with eBPF, bpftrace tool, code example, a hand-on guide

Linux tracing systems & how they fit together - Julia Evans
Indruction of linux tracing eco-system, some nice pictures. Quickly introduces most linux tracing tools and a nice categorization. illustrations

getting function arguments using kprobes
kprobes and function calling convention / ABI

Benchmarking Performance Overhead of DTrace on FreeBSD and eBPF on Linux

when static makes your c code 10 times faster Mateusz Piotrowski

index of /notes/tracing/

../
perf cheatsheet 27-Oct-2024