#lttng-sessiond -b -vvv --verbose-consumer --no-kernel

lttng-sessiond -b --no-kernel

lttng create snap-test

lttng enable-channel -s snap-test -u ch1

lttng enable-event -s snap-test -c ch1 -u -a

#lttng add-context -u --type='vpid'

#lttng add-context -u --type='perf:thread:page-fault'

lttng start snap-test

rm -rf /root/lttng-traces/snap-test*
#./gen-ust-events 1000000 1000000 &

sleep 5 

#lttng destroy snap-test

#lttng snapshot record --name=trace

lttng stop snap-test

lttng view

#echo -n "Stopping lttng-sessiond... "
#start-stop-daemon -K -n lttng-sessiond &> /dev/null
#waitfor lttng-sessiond 3
#echo "done"

#rm -rf /root/lttng-traces/*
