Dynamic probe on function

Add a kprobe with an argument, then record it; inspect kernel internals without rebuilding

perf probe --add 'tcp_sendmsg size' && perf record -e probe:tcp_sendmsg -a -- sleep 5

tool
perf17 commands
tags
perfkerneldebugobservability

More perf commands

all 17 perf commands