bpftrace icon indicating copy to clipboard operation
bpftrace copied to clipboard

PMC support

Open brendangregg opened this issue 6 years ago • 0 comments

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 would fire once for every 10000000 cpu-cycles.

brendangregg avatar Mar 07 '18 01:03 brendangregg