1 ####################################################################
2 # Copyright (c) 2013 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: Initialize
14 ####################################################################
24 lttng version 2.2.0 - Cuda
25 Web site: http://lttng.org/
27 lttng is free software and under the GPL license and part LGPL
37 Currently no available tracing session
49 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint)
50 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint)
51 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint)
65 PID: 9379 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
66 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
67 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
69 PID: 4852 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
70 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
71 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
76 ####################################################################
77 # Scenario: Session and channel with per-UID UST buffers
78 ####################################################################
82 lttng create mysession
88 Session mysession created.
89 Traces will be written in /home/user/lttng-traces/mysession-20130812-113358
99 Tracing session mysession: [inactive]
100 Trace path: /home/user/lttng-traces/mysession-20130812-113358
105 lttng destroy mysession
111 Session my destroyed.
115 lttng enable-channel mychannel -u -s mysession --buffers-uid
121 UST channel mychannel enabled for session mysession
131 Tracing session mysession: [inactive]
132 Trace path: /home/user/lttng-traces/mysession-20130812-113358
134 === Domain: UST global ===
140 - mychannel: [enabled]
144 subbufers size: 8388608
145 number of subbufers: 4
146 switch timer interval: 0
147 read timer interval: 0
157 ####################################################################
158 # Scenario: Session and channel with per-PID UST buffers
159 ####################################################################
163 lttng create mysession
169 Session mysession created.
170 Traces will be written in /home/user/lttng-traces/mysession-20130812-113358
180 Tracing session mysession: [inactive]
181 Trace path: /home/user/lttng-traces/mysession-20130812-113358
186 lttng destroy mysession
192 Session mysession destroyed.
196 lttng enable-channel mychannel -u -s mysession --buffers-pid
202 UST channel mychannel enabled for session mysession
212 Tracing session mysession: [inactive]
213 Trace path: /home/user/lttng-traces/mysession-20130812-113358
215 === Domain: UST global ===
221 - mychannel: [enabled]
225 subbufers size: 8388608
226 number of subbufers: 4
227 switch timer interval: 0
228 read timer interval: 0
238 ####################################################################
239 # Scenario: Session and channel with per-PID UST buffers with option -C -W
240 ####################################################################
244 lttng create mysession
250 Session mysession created.
251 Traces will be written in /home/user/lttng-traces/mysession-20130812-113358
261 Tracing session mysession: [inactive]
262 Trace path: /home/user/lttng-traces/mysession-20130812-113358
267 lttng destroy mysession
273 Session mysession destroyed.
277 lttng enable-channel mychannel -u -s mysession -C 1024 -W 10
283 <COMMAND_ERROR_OUTPUT>
284 Warning: Tracefile size rounded up from (1024) to subbuffer size (8388608)
285 </COMMAND_ERROR_OUTPUT>
286 UST channel mychannel enabled for session mysession
296 Tracing session mysession: [inactive]
297 Trace path: /home/user/lttng-traces/mysession-20130812-113358
299 === Domain: UST global ===
305 - mychannel: [enabled]
309 subbufers size: 8388608
310 number of subbufers: 4
311 switch timer interval: 0
312 read timer interval: 0