Open brendangregg opened 6 years ago
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.
This is for performance monitoring counter events. bcc has an example tool: llcstat. An interface might look like this:
That would fire once for every 10000000 cpu-cycles.