projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix benchmark scripts to wait PID
[lttng-tools.git]
/
benchmark
/
run-boot-time.sh
diff --git
a/benchmark/run-boot-time.sh
b/benchmark/run-boot-time.sh
index ba57d168d49c27320e56a39e26bfa25b55038956..c17a4fd26165c60556ff08ff210a9a61d8d8df5e 100755
(executable)
--- a/
benchmark/run-boot-time.sh
+++ b/
benchmark/run-boot-time.sh
@@
-43,9
+43,7
@@
sleep 1
kill $PID_SESSIOND
kill $PID_SESSIOND
-echo -e "\nResults will be available shortly in $RESULTS_PATH"
-echo ""
-
-tail -F $RESULTS_PATH --pid $PID_SESSIOND 2>/dev/null
+# Trick to wait for a PID which is not a child
+tail --pid=$PID_SESSIOND --quiet -F $RESULTS_PATH > /dev/null 2>&1
exit 0
exit 0
This page took
0.024925 seconds
and
4
git commands to generate.