projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/fork: updates
[lttng-ust.git]
/
usttrace
diff --git
a/usttrace
b/usttrace
index c77f73114ae97d6e2db7f431f4f03c9714a17dd7..cb9464086adb7e82efad62059f2dc14e06874eca 100755
(executable)
--- a/
usttrace
+++ b/
usttrace
@@
-36,9
+36,9
@@
while getopts ":hlLmfs" options; do
s) arg_syswide_daemon=1;;
h) usage;
exit 0;;
s) arg_syswide_daemon=1;;
h) usage;
exit 0;;
- \?)
echo $
usage
+ \?) usage
exit 1;;
exit 1;;
- *)
echo $
usage
+ *) usage
exit 1;;
esac
done
exit 1;;
esac
done
@@
-79,7
+79,10
@@
fi
# Wait for the daemon to settle
# If we don't, the process may try to connect to its socket before
# it's ready.
# Wait for the daemon to settle
# If we don't, the process may try to connect to its socket before
# it's ready.
-# FIXME: is there a way to make sure this works every time?
+# FIXME: is there a way to make sure this works every time? Yes,
+# we could have a mode where ustd daemonizes itself. Therefore
+# by the time the control returns to the console, it's ready.
+
sleep 0.5
# Establish the environment for the command
sleep 0.5
# Establish the environment for the command
This page took
0.025174 seconds
and
4
git commands to generate.