From ed69c917c47435007ad72dc83a2db31c19699846 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 12 Feb 2023 11:50:26 -0700 Subject: scripts/main.sh: Record cpu and allocs profiles --- scripts/main.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/main.sh b/scripts/main.sh index 73eada7..365862f 100755 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -16,6 +16,8 @@ run-btrfs-rec() { command time --verbose \ ./bin/btrfs-rec \ --pv="$image" \ + --profile.cpu="${tgt%.*}.cpu.pprof" \ + --profile.allocs="${tgt%.*}.allocs.pprof" \ "$@" } >"$tgt" 2> >(tee >&2 "$log") } -- cgit v1.2.3-2-g168b