1/* $OpenBSD: kprofile.bt,v 1.2 2022/05/01 20:23:11 bluhm Exp $ */ 2 3/* 4 * kprofile.bt Kernel profiling (stack sampling) at 100Hz. 5 * 6 * To produce a FlameGraph process the output with stackcollapse-bpftrace.pl 7 * and flamegraph.pl found in: 8 * https://github.com/brendangregg/FlameGraph 9 */ 10profile:hz:100 { 11 @[kstack] = count(); 12} 13