Adding forgotten generate_flame_graph.sh
gitea.matetelki.eu/performance_measuring/master There was a failure building this commit
Details
gitea.matetelki.eu/performance_measuring/master There was a failure building this commit
Details
parent
3b26c69377
commit
8981cf9eda
@ -0,0 +1,9 @@
|
||||
#/bin/bash
|
||||
|
||||
# Don't forget to :
|
||||
# sudo bash -c "echo 0 > /proc/sys/kernel/perf_event_paranoid"
|
||||
|
||||
perf record -F 20000 -g ./performance_measuring
|
||||
perf script > out.perf
|
||||
./FlameGraph/stackcollapse-perf.pl out.perf > out.folded
|
||||
./FlameGraph/flamegraph.pl out.folded > flamegraph.svg
|
Loading…
Reference in new issue