[ltt-dev] [UST PATCH 3/3] Update test-cases for new ustctl cli
Nils Carlson
nils.carlson at ericsson.com
Thu Jan 20 09:05:54 EST 2011
Signed-off-by: Nils Carlson <nils.carlson at ericsson.com>
---
tests/manual_mode_tracing.sh | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/tests/manual_mode_tracing.sh b/tests/manual_mode_tracing.sh
index b0df338..b60a957 100755
--- a/tests/manual_mode_tracing.sh
+++ b/tests/manual_mode_tracing.sh
@@ -42,17 +42,18 @@ UST_CONSUMERD_PID="$(<$pidfilepath)"
LD_PRELOAD=/usr/local/lib/libust.so.0.0.0:/usr/local/lib/libustinstr-malloc.so find -L / >/dev/null 2>&1 &
PID=$!
+TRACE=auto
sleep 0.1
-okx ustctl --list-markers "$PID"
-okx ustctl --enable-marker ust/malloc $PID
-okx ustctl --enable-marker ust/free $PID
-okx ustctl --create-trace $PID
-okx ustctl --alloc-trace $PID
-okx ustctl --start-trace $PID
+okx ustctl list-markers $PID
+okx ustctl enable-marker $PID $TRACE ust/malloc
+okx ustctl enable-marker $PID $TRACE ust/free
+okx ustctl create-trace $PID $TRACE
+okx ustctl alloc-trace $PID $TRACE
+okx ustctl start-trace $PID $TRACE
sleep 0.5
-okx ustctl --stop-trace $PID
-okx ustctl --destroy-trace $PID
+okx ustctl stop-trace $PID $TRACE
+okx ustctl destroy-trace $PID $TRACE
kill $PID
kill -SIGTERM ${UST_CONSUMERD_PID}
wait ${UST_CONSUMERD_PID}
--
1.7.1
More information about the lttng-dev
mailing list