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