Skip to content

Commit 9817061

Browse files
committed
$IPROF -> iprof, $BBT -> babeltrace_thapi
1 parent e6bbf8f commit 9817061

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

integration_tests/toggle.bats

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ get_unique_jobid() {
1818

1919
cc ${THAPI_INCFLAGS} ./integration_tests/toggle.c -o toggle ${THAPI_LDFLAGS}
2020

21-
$IPROF --trace-output toggle_traces --no-analysis -- ./toggle
21+
iprof --trace-output toggle_traces --no-analysis -- ./toggle
2222
dir=$(ls -d -1 ./toggle_traces/*/)
2323

24-
start_count=$($BBT -c $dir | grep lttng_ust_toggle:start | wc -l)
24+
start_count=$(babeltrace_thapi -c $dir | grep lttng_ust_toggle:start | wc -l)
2525
[ "$start_count" -eq 1 ]
2626

27-
stop_count=$($BBT -c $dir | grep lttng_ust_toggle:stop | wc -l)
27+
stop_count=$(babeltrace_thapi -c $dir | grep lttng_ust_toggle:stop | wc -l)
2828
[ "$stop_count" -eq 2 ]
2929
}
3030

3131
toggle_count_base() {
3232
rm -rf toggle_traces 2>/dev/null
3333

3434
THAPI_SYNC_DAEMON=fs THAPI_JOBID=$(get_unique_jobid) timeout 40s $MPIRUN -n $1 \
35-
$IPROF --trace-output toggle_traces --no-analysis -- ./toggle_mpi $2
35+
iprof --trace-output toggle_traces --no-analysis -- ./toggle_mpi $2
3636

37-
traces=$($BBT ./toggle_traces)
37+
traces=$(babeltrace_thapi ./toggle_traces)
3838

3939
echo $traces
4040
}

0 commit comments

Comments
 (0)