Skip to content

Commit

Permalink
cmd/bent: fix cpuprofile command
Browse files Browse the repository at this point in the history
Change-Id: Ia20ad3e7daa4741a9a3f8675c782f647595f2c5e
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/614775
Reviewed-by: Michael Knyszek <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
  • Loading branch information
dr2chase committed Sep 21, 2024
1 parent 06714b4 commit e49fea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bent/scripts/cpuprofile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Run args as command, but run cpuprofile and then pprof to capture test cpuprofile output
if [ -n ${BENT_PGO} ] ; then
if [ -n "${BENT_PGO}" ] ; then
pf="${BENT_PGO}/${BENT_BENCH}.prof"
mkdir -p ${BENT_PGO}
else
Expand Down

0 comments on commit e49fea3

Please sign in to comment.