xref: /openbsd/share/btrace/kprofile.bt (revision d89ec533)
1/*
2 * kprofile.bt	Kernel profiling (stack sampling) at 100Hz.
3 *
4 * To produce a FlameGraph process the output with stackcollapse-bpftrace.pl
5 * and flamegraph.pl found in:
6 *	https://github.com/brendangregg/FlameGraph
7 */
8profile:hz:100 {
9	@[kstack] = count();
10}
11