Tests: Add kernel snapshot streaming
[lttng-tools.git] / tests / utils / utils.sh
index f73b1764c7c32750f3e8a44fd44edcfe4f9bb69b..5fca4a0227ceaec51cd9c46c2ae746520a851af2 100644 (file)
@@ -315,6 +315,15 @@ function lttng_snapshot_add_output ()
        ok $? "Added snapshot output file://$trace_path"
 }
 
+function lttng_snapshot_del_output ()
+{
+       local sess_name=$1
+       local id=$2
+
+       $TESTDIR/../src/bin/lttng/$LTTNG_BIN snapshot del-output -s $sess_name $id >/dev/null 2>&1
+       ok $? "Deleted snapshot output id $id"
+}
+
 function lttng_snapshot_record ()
 {
        sess_name=$1
This page took 0.024845 seconds and 5 git commands to generate.