bpftrace
bpftrace copied to clipboard
tracepoint argument support
Something like this should work (inspired by bcc's trace):
bpftrace -e 'tracepoint:block:block_rq_insert { printf("sectors: %d\n", args->nr_sector); }'