Adding forgotten generate_flame_graph.sh
gitea.matetelki.eu/performance_measuring/master There was a failure building this commit Details

master
denes 5 years ago
parent 3b26c69377
commit 8981cf9eda
Signed by: denes
GPG Key ID: A7D50EAD42F9FC9F

8
.gitignore vendored

@ -17,3 +17,11 @@ performance_measuring.kdev4
#binaries
a.out
performance_measuring
performance_measuring_test
# perf
out.folded
out.perf
perf.data
perf.data.old
flamegraph.svg

@ -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…
Cancel
Save