1 ####################################################################
2 # Copyright (c) 2012 Ericsson
4 # All rights reserved. This program and the accompanying materials are
5 # made available under the terms of the Eclipse Public License v1.0 which
6 # accompanies this distribution, and is available at
7 # http://www.eclipse.org/legal/epl-v10.html
10 # Bernd Hufmann - Initial API and implementation
11 ####################################################################
12 ####################################################################
13 # Scenario: Test lttng list <name> with sample outputs
14 ####################################################################
25 lttng version 2.1.0 - Basse Messe
26 Web site: http://lttng.org/
28 lttng is free software and under the GPL license and part LGPL
38 Available tracing sessions:
39 1) mysession1 (/home/user/lttng-traces/mysession1-20120123-083928) [inactive]
40 2) mysession (/home/user/lttng-traces/mysession-20120123-083318) [inactive]
42 Use lttng list <session_name> for more details
52 Tracing session mysession: [active]
53 Trace path: /home/user/lttng-traces/mysession-20120129-084256
55 === Domain: Kernel ===
63 subbufers size: 262144
64 number of subbufers: 4
65 switch timer interval: 0
66 read timer interval: 200
70 block_rq_remap (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
71 block_bio_remap (loglevel: TRACE_EMERG (0)) (type: tracepoint) [disabled]
72 myevent2 (type: probe) [enabled]
74 myevent0 (type: probe) [enabled]
77 syscalls (type: syscall) [enabled]
79 - channel1: [disabled]
83 subbufers size: 524288
84 number of subbufers: 4
85 switch timer interval: 100
86 read timer interval: 400
92 === Domain: UST global ===
96 - mychannel1: [disabled]
101 number of subbufers: 8
102 switch timer interval: 200
103 read timer interval: 100
109 - channel0: [enabled]
114 number of subbufers: 4
115 switch timer interval: 0
116 read timer interval: 200
120 ust_tests_hello:tptest_sighandler (loglevel == TRACE_DEBUG_LINE (13)) (type: tracepoint) [disabled] [with filter]
121 ust_tests_hello:tptest_sighandler1 (loglevel <= TRACE_INFO (7)) (type: tracepoint) [disabled] [with filter]
122 ust_tests_hello:tptest_sighandler2 (loglevel: TRACE_DEBUG_SYSTEM (8)) (type: tracepoint) [disabled] [with filter]
123 * (type: tracepoint) [enabled]
127 lttng list mysession1
133 Tracing session mysession1: [inactive]
134 Trace path: /home/user/lttng-traces/mysession1-20120203-133225
147 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint)
148 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint)
149 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint)
163 PID: 9379 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
164 ust_tests_hello:tptest_sighandler (loglevel: TRACE_DEBUG_MODULE (10)) (type: tracepoint)
165 ust_tests_hello:tptest (loglevel: TRACE_INFO (6)) (type: tracepoint)
166 field: doublefield (float)
167 field: floatfield (float)
168 field: stringfield (string)
170 PID: 4852 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
171 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
172 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
173 field: doublefield (float)
174 field: floatfield (float)
175 field: stringfield (string)
182 ####################################################################
183 # Scenario: Test "lttng list -k" with no kernel and no session daemon
184 ####################################################################
195 lttng version 2.0.0 - Annedd'ale
196 Web site: http://lttng.org/
198 lttng is free software and under the GPL license and part LGPL
208 Currently no available tracing session
218 <COMMAND_ERROR_OUTPUT>
219 Error: Unable to list kernel events
220 </COMMAND_ERROR_OUTPUT>
233 PID: 9379 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
234 ust_tests_hello:tptest_sighandler (loglevel: TRACE_DEBUG_MODULE (10)) (type: tracepoint)
235 ust_tests_hello:tptest (loglevel: TRACE_INFO (6)) (type: tracepoint)