adds cache_miss_flamegraph.sh

This commit is contained in:
Richard Thier 2025-09-30 17:22:19 +02:00
parent ac873f7123
commit 78266ef345

6
cache_miss_flamegraph.sh Executable file
View File

@ -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