diff --git a/cache_miss_flamegraph.sh b/cache_miss_flamegraph.sh new file mode 100755 index 0000000..ce49587 --- /dev/null +++ b/cache_miss_flamegraph.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +rm perf.data; perf record -e L1-dcache-load-misses:u -c 1000 -g -- ./ypsu.out +perf script | FlameGraph/stackcollapse-perf.pl > out.perf-folded +FlameGraph/flamegraph.pl out.perf-folded > perf.svg +brave perf.svg