gdbtrace: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.control.ui.tests / testfiles / ListInfoTest.cfg
1 ####################################################################
2 # Copyright (c) 2012 Ericsson
3 #
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
8 #
9 # Contributors:
10 # Bernd Hufmann - Initial API and implementation
11 ####################################################################
12 ####################################################################
13 # Scenario: Test lttng list <name> with sample outputs
14 ####################################################################
15 <SCENARIO>
16 ListInfoTest
17
18 <COMMAND_INPUT>
19 lttng version
20 </COMMAND_INPUT>
21 <COMMAND_RESULT>
22 0
23 </COMMAND_RESULT>
24 <COMMAND_OUTPUT>
25 lttng version 2.1.0 - Basse Messe
26 Web site: http://lttng.org/
27
28 lttng is free software and under the GPL license and part LGPL
29 </COMMAND_OUTPUT>
30
31 <COMMAND_INPUT>
32 lttng list
33 </COMMAND_INPUT>
34 <COMMAND_RESULT>
35 0
36 </COMMAND_RESULT>
37 <COMMAND_OUTPUT>
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]
41
42 Use lttng list <session_name> for more details
43 </COMMAND_OUTPUT>
44
45 <COMMAND_INPUT>
46 lttng list mysession
47 </COMMAND_INPUT>
48 <COMMAND_RESULT>
49 0
50 </COMMAND_RESULT>
51 <COMMAND_OUTPUT>
52 Tracing session mysession: [active]
53 Trace path: /home/user/lttng-traces/mysession-20120129-084256
54
55 === Domain: Kernel ===
56
57 Channels:
58 -------------
59 - channel0: [enabled]
60
61 Attributes:
62 overwrite mode: 0
63 subbufers size: 262144
64 number of subbufers: 4
65 switch timer interval: 0
66 read timer interval: 200
67 output: splice()
68
69 Events:
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]
73 addr: 0xc0101340
74 myevent0 (type: probe) [enabled]
75 offset: 0x0
76 symbol: init_post
77 syscalls (type: syscall) [enabled]
78
79 - channel1: [disabled]
80
81 Attributes:
82 overwrite mode: 1
83 subbufers size: 524288
84 number of subbufers: 4
85 switch timer interval: 100
86 read timer interval: 400
87 output: splice()
88
89 Events:
90 None
91
92 === Domain: UST global ===
93
94 Channels:
95 -------------
96 - mychannel1: [disabled]
97
98 Attributes:
99 overwrite mode: 1
100 subbufers size: 8192
101 number of subbufers: 8
102 switch timer interval: 200
103 read timer interval: 100
104 output: mmap()
105
106 Events:
107 None
108
109 - channel0: [enabled]
110
111 Attributes:
112 overwrite mode: 0
113 subbufers size: 4096
114 number of subbufers: 4
115 switch timer interval: 0
116 read timer interval: 200
117 output: mmap()
118
119 Events:
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]
124
125 </COMMAND_OUTPUT>
126 <COMMAND_INPUT>
127 lttng list mysession1
128 </COMMAND_INPUT>
129 <COMMAND_RESULT>
130 0
131 </COMMAND_RESULT>
132 <COMMAND_OUTPUT>
133 Tracing session mysession1: [inactive]
134 Trace path: /home/user/lttng-traces/mysession1-20120203-133225
135
136 </COMMAND_OUTPUT>
137
138 <COMMAND_INPUT>
139 lttng list -k
140 </COMMAND_INPUT>
141 <COMMAND_RESULT>
142 0
143 </COMMAND_RESULT>
144 <COMMAND_OUTPUT>
145 Kernel events
146 -------------
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)
150
151 </COMMAND_OUTPUT>
152
153 <COMMAND_INPUT>
154 lttng list -u -f
155 </COMMAND_INPUT>
156 <COMMAND_RESULT>
157 0
158 </COMMAND_RESULT>
159 <COMMAND_OUTPUT>
160 UST events:
161 -------------
162
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)
169
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)
176
177 </COMMAND_OUTPUT>
178
179 </SCENARIO>
180
181
182 ####################################################################
183 # Scenario: Test "lttng list -k" with no kernel and no session daemon
184 ####################################################################
185 <SCENARIO>
186 ListInfoTestNoKernel
187
188 <COMMAND_INPUT>
189 lttng version
190 </COMMAND_INPUT>
191 <COMMAND_RESULT>
192 0
193 </COMMAND_RESULT>
194 <COMMAND_OUTPUT>
195 lttng version 2.0.0 - Annedd'ale
196 Web site: http://lttng.org/
197
198 lttng is free software and under the GPL license and part LGPL
199 </COMMAND_OUTPUT>
200
201 <COMMAND_INPUT>
202 lttng list
203 </COMMAND_INPUT>
204 <COMMAND_RESULT>
205 0
206 </COMMAND_RESULT>
207 <COMMAND_OUTPUT>
208 Currently no available tracing session
209 </COMMAND_OUTPUT>
210
211 <COMMAND_INPUT>
212 lttng list -k
213 </COMMAND_INPUT>
214 <COMMAND_RESULT>
215 1
216 </COMMAND_RESULT>
217 <COMMAND_OUTPUT>
218 <COMMAND_ERROR_OUTPUT>
219 Error: Unable to list kernel events
220 </COMMAND_ERROR_OUTPUT>
221 </COMMAND_OUTPUT>
222
223 <COMMAND_INPUT>
224 lttng list -u
225 </COMMAND_INPUT>
226 <COMMAND_RESULT>
227 0
228 </COMMAND_RESULT>
229 <COMMAND_OUTPUT>
230 UST events:
231 -------------
232
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)
236
237 </COMMAND_OUTPUT>
238
239 </SCENARIO>
240
This page took 0.039718 seconds and 5 git commands to generate.