Reapply "adds cache_miss_flamegraph.sh"
This reverts commit 2a507e9f54e8478a2aa0fd2116e98c2aeb5579bd.
This commit is contained in:
parent
2a507e9f54
commit
a849b01fa8
6
cache_miss_flamegraph.sh
Executable file
6
cache_miss_flamegraph.sh
Executable 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
|
||||
Loading…
x
Reference in New Issue
Block a user