#################################################################### # Copyright (c) 2014 Ericsson # # All rights reserved. This program and the accompanying materials are # made available under the terms of the Eclipse Public License v1.0 which # accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # Jonathan Rajotte - Initial API and implementation #################################################################### #################################################################### # Scenario: Initialize #################################################################### Initialize lttng --mi xml version 0 version 2.6.0 2 6 0 TestMI Lorem ipsum http://lttng.org lttng is free software and under the GPL license and part LGPL lttng --mi xml list 0 list lttng --mi xml list -k 0 list KERNEL PER_PID sched_kthread_stop TRACEPOINT true false TRACE_EMERG ALL false sched_kthread_stop_ret TRACEPOINT true false TRACE_EMERG ALL false sched_wakeup_new TRACEPOINT true false TRACE_EMERG ALL false lttng --mi xml list -u -f 0 list UST PER_PID 9379 /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello ust_tests_hello:tptest_sighandler TRACEPOINT true false TRACE_DEBUG_MODULE ALL false ust_tests_hello:tptest TRACEPOINT true false TRACE_INFO ALL false doublefield FLOAT 0 floatfield FLOAT 0 stringfield STRING 0 4852 /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello ust_tests_hello:tptest_sighandler TRACEPOINT true false TRACE_WARNING ALL false ust_tests_hello:tptest TRACEPOINT true false TRACE_DEBUG_FUNCTION ALL false doublefield FLOAT 0 floatfield FLOAT 0 stringfield STRING 0 #################################################################### # Scenario: Test "lttng create with LTTng 2.1 options #################################################################### ################################################################## CreateSessionFileProto lttng --mi xml create mysession -U file:///tmp 0 create mysession /tmp false 0 0 true lttng --mi xml list mysession 0 list mysession /tmp false 0 0 lttng --mi xml destroy mysession 0 destroy mysession /tmp false 0 0 true ################################################################## CreateSessionControlData lttng --mi xml create mysession -C tcp://172.0.0.1 -D tcp://172.0.0.1:5343 0 create mysession tcp4://172.0.0.1:5342/ [data: 5343] false 0 0 true lttng --mi xml list mysession 0 list mysession tcp4://172.0.0.1:5342/ [data: 5343] false 0 0 lttng --mi xml destroy mysession 0 destroy mysession tcp4://172.0.0.1:5342/ [data: 5343] false 0 0 true ################################################################## CreateSessionNetwork lttng --mi xml create mysession -U net://172.0.0.1:1234:2345 0 create mysession tcp4://172.0.0.1:1234/mysession-20140820-153527 [data: 2345] false 0 0 true lttng --mi xml list mysession 0 list mysession tcp4://172.0.0.1:1234/mysession-20140820-153527 [data: 2345] false 0 0 lttng --mi xml destroy mysession 0 destroy mysession tcp4://172.0.0.1:1234/mysession-20140820-153527 [data: 2345] false 0 0 true ################################################################## CreateSessionNetwork2 lttng --mi xml create mysession -U net6://[ffff::eeee:dddd:cccc:0] 0 create mysession tcp6://[ffff::eeee:dddd:cccc:0]:5342/mysession-20140820-153801 [data: 5343] false 0 0 true lttng --mi xml list mysession 0 list mysession tcp6://[ffff::eeee:dddd:cccc:0]:5342/mysession-20140820-153801 [data: 5343] false 0 0 lttng --mi xml destroy mysession 0 destroy mysession tcp6://[ffff::eeee:dddd:cccc:0]:5342/mysession-20140820-153801 [data: 5343] false 0 0 true