summaryrefslogtreecommitdiff
path: root/scripts/main.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/main.sh')
-rwxr-xr-xscripts/main.sh2
1 files changed, 2 insertions, 0 deletions
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")
}