Browse Source

add script to record perf and make the flame graph

master
Constantin Fürst 11 months ago
parent
commit
624e8b55ea
  1. 3
      qdp_project/record-perf.sh

3
qdp_project/record-perf.sh

@ -0,0 +1,3 @@
echo 0 > /proc/sys/kernel/kptr_restrict
perf record -e cycles -g --call-graph dwarf -- cmake-build-reldeb/QDPBench
perf script | /home/cfuerst/FlameGraph/stackcollapse-perf.pl | /home/cfuerst/FlameGraph/flamegraph.pl > results/perf.pl
Loading…
Cancel
Save