projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add lttng-error.h containing every API err. code
[lttng-tools.git]
/
tests
/
ust
/
high-throughput
/
run
diff --git
a/tests/ust/high-throughput/run
b/tests/ust/high-throughput/run
index bc30c8399935a4820416c308eb76ab920c5453c0..de3111ddde8b95540600cb796e43fd2ef8a18fa2 100755
(executable)
--- a/
tests/ust/high-throughput/run
+++ b/
tests/ust/high-throughput/run
@@
-28,7
+28,7
@@
echo -e "\n-------------------------------------------"
echo -e "UST tracer - Testing high events throughput"
echo -e "-------------------------------------------"
echo -e "UST tracer - Testing high events throughput"
echo -e "-------------------------------------------"
-if [ ! -
e
"$CURDIR/$BIN_NAME" ]; then
+if [ ! -
x
"$CURDIR/$BIN_NAME" ]; then
echo -e "No UST nevents binary detected. Passing."
exit 0
fi
echo -e "No UST nevents binary detected. Passing."
exit 0
fi
@@
-48,8
+48,12
@@
for i in `seq 1 $NR_ITER`; do
./$CURDIR/$BIN_NAME & >/dev/null 2>&1
done
./$CURDIR/$BIN_NAME & >/dev/null 2>&1
done
-echo "Waiting for all tracing to settle"
-sleep 5
+echo "Waiting for applications to end"
+while [ -n "$(pidof $BIN_NAME)" ]; do
+ echo -n "."
+ sleep 0.5
+done
+echo ""
stop_tracing $SESSION_NAME
destroy_lttng_session $SESSION_NAME
stop_tracing $SESSION_NAME
destroy_lttng_session $SESSION_NAME
This page took
0.031883 seconds
and
4
git commands to generate.