diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-12 11:50:26 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-12 16:19:06 -0700 |
commit | ed69c917c47435007ad72dc83a2db31c19699846 (patch) | |
tree | b06361fac5ae74630187c55c4174e8011256b398 /scripts/main.sh | |
parent | ea319c1b817e65ad0808f08343b3203e62ab15a9 (diff) |
scripts/main.sh: Record cpu and allocs profiles
Diffstat (limited to 'scripts/main.sh')
-rwxr-xr-x | scripts/main.sh | 2 |
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") } |