aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-23 16:13:54 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-23 16:13:54 +0200
commit5ecd5849e49d73983da686397701d11e671722f9 (patch)
tree7760158480bbc671e3701ef6871c6f09060ed2dd /scripts
parentmove valgrind.sh to scripts/ (diff)
downloadcimple-5ecd5849e49d73983da686397701d11e671722f9.tar.gz
cimple-5ecd5849e49d73983da686397701d11e671722f9.zip
flamegraph.sh: prettier and narrower graphs
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/flamegraph.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/flamegraph.sh b/scripts/flamegraph.sh
index 9a7316f..b3be88b 100755
--- a/scripts/flamegraph.sh
+++ b/scripts/flamegraph.sh
@@ -48,7 +48,7 @@ make_graph() {
wait "$record_pid" || true
perf script -i "$output_dir/perf.data" > "$output_dir/perf.out"
stackcollapse-perf.pl "$output_dir/perf.out" > "$output_dir/perf.folded"
- flamegraph.pl --width 1600 "$output_dir/perf.folded" > "$output_path"
+ flamegraph.pl --width 1400 --color mem "$output_dir/perf.folded" > "$output_path"
}
record_pid=''