bpftrace icon indicating copy to clipboard operation
bpftrace copied to clipboard

High-level tracing language for Linux eBPF - development moved to https://github.com/iovisor/bpftrace

Results 20 bpftrace issues
Sort by recently updated
recently updated
newest added

Given an address, resolve to the user level symbol string. Will be used by ustack as well.

enhancement

User statically-defined tracing events (user-level tracepoints). They are in some libraries, databases, and runtimes. Something like this should be possible: ``` bpftrace -e 'usdt:pthread:pthread_create { printf("created thread\n"); }' ``` bcc...

enhancement

quantize() gives us power-of-2, but there's also a need for custom linear. args: min, max, step.

enhancement

This is for performance monitoring counter events. bcc has an example tool: llcstat. An interface might look like this: ``` bpftrace -e 'perf:cpu-cycles:10000000 { @[tid] = count(); }' ``` That...

enhancement

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

enhancement

``` # ./bpftrace -e 'kprobe:sys_read { @who[ustack] = count(); }' Attaching 1 probe... ^C @who[ 0x7f572d91b230 0x7f572dfc1282 0x652f74656e2f7373 ]: 1 @who[ 0x7fd85a3da500 0x17ccf70 0x17c20f0 0x80100007ffffff2 [...] ``` At least some...

enhancement

Debian packaging? I'm not an expert, just filing this as a todo.

Add line numbers, context, etc.

enhancement

See https://github.com/iovisor/bcc/issues/1396

enhancement

e.g. provider = "kprobe" for kprobe:sys_read target = "/lib/libc-2.25.so" for uprobe:/lib/libc-2.25.so:malloc

enhancement