Return to kprofile.bt CVS log | Up to [local] / src / share / btrace |
File: [local] / src / share / btrace / kprofile.bt (download)
Revision 1.2, Sun May 1 20:23:11 2022 UTC (2 years ago) by bluhm
Install useful btrace scripts into /usr/share/btrace directory. OK tedu@ |
/* $OpenBSD: kprofile.bt,v 1.2 2022/05/01 20:23:11 bluhm Exp $ */ /* * 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(); }