Skip to content

Commit 13d48ec

Browse files
flamegraph
1 parent c87c309 commit 13d48ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flamegraph.bash

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!bin/bash
2+
/usr/lib/linux-tools/6.8.0-58-generic/perf record -g -- ./main
3+
/usr/lib/linux-tools/6.8.0-58-generic/perf script > out.perf
4+
~/FlameGraph/stackcollapse-perf.pl out.perf > out.folded
5+
~/FlameGraph/flamegraph.pl out.folded > perf.svg

0 commit comments

Comments
 (0)