Fix for bug 383097 (CommandShell improvement)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui.tests / testfiles / LTTngServiceTest.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 not installed
14 ####################################################################
15 <SCENARIO>
16 LttngNotInstalled
17 <COMMAND_INPUT>
18 lttng list
19 </COMMAND_INPUT>
20 <COMMAND_RESULT>
21 1
22 </COMMAND_RESULT>
23 <COMMAND_OUTPUT>
24 Command not found
25 </COMMAND_OUTPUT>
26 </SCENARIO>
27
28 ####################################################################
29 # Scenario: Test lttng version
30 ####################################################################
31 <SCENARIO>
32 LttngVersion
33 <COMMAND_INPUT>
34 lttng version
35 </COMMAND_INPUT>
36 <COMMAND_RESULT>
37 0
38 </COMMAND_RESULT>
39 <COMMAND_OUTPUT>
40 lttng version 2.0.0 - Annedd'ale
41 Web site: http://lttng.org/
42
43 lttng is free software and under the GPL license and part LGPL
44 </COMMAND_OUTPUT>
45 </SCENARIO>
46
47 ####################################################################
48 # Scenario: Test lttng version
49 # output with prompt
50 ####################################################################
51 <SCENARIO>
52 LttngVersionWithPrompt
53 <COMMAND_INPUT>
54 lttng version
55 </COMMAND_INPUT>
56 <COMMAND_RESULT>
57 0
58 </COMMAND_RESULT>
59 <COMMAND_OUTPUT>
60 Prompt> lttng version 2.0.0 - Annedd'ale
61 Web site: http://lttng.org/
62
63 lttng is free software and under the GPL license and part LGPL
64 </COMMAND_OUTPUT>
65 </SCENARIO>
66
67 ####################################################################
68 # Scenario: Test lttng version (unsupported version)
69 ####################################################################
70 <SCENARIO>
71 LttngUnsupportedVersion
72 <COMMAND_INPUT>
73 lttng version
74 </COMMAND_INPUT>
75 <COMMAND_RESULT>
76 0
77 </COMMAND_RESULT>
78 <COMMAND_OUTPUT>
79 lttng version 200.0.0 - Annedd'ale
80 Web site: http://lttng.org/
81
82 lttng is free software and under the GPL license and part LGPL
83 </COMMAND_OUTPUT>
84 </SCENARIO>
85
86
87 ####################################################################
88 # Scenario: Test lttng version (noversion)
89 ####################################################################
90 <SCENARIO>
91 LttngNoVersion
92 <COMMAND_INPUT>
93 lttng version
94 </COMMAND_INPUT>
95 <COMMAND_RESULT>
96 0
97 </COMMAND_RESULT>
98 <COMMAND_OUTPUT>
99 Web site: http://lttng.org/
100
101 lttng is free software and under the GPL license and part LGPL
102 </COMMAND_OUTPUT>
103 </SCENARIO>
104
105 ####################################################################
106 # Scenario: Test no sessions available
107 ####################################################################
108 <SCENARIO>
109 NoSessionAvailable
110 <COMMAND_INPUT>
111 lttng list
112 </COMMAND_INPUT>
113 <COMMAND_RESULT>
114 0
115 </COMMAND_RESULT>
116 <COMMAND_OUTPUT>
117 Currently no available tracing session
118 </COMMAND_OUTPUT>
119 </SCENARIO>
120
121 ####################################################################
122 # Scenario: Test get sessions
123 ####################################################################
124 <SCENARIO>
125 GetSessionNames1
126 <COMMAND_INPUT>
127 lttng list
128 </COMMAND_INPUT>
129 <COMMAND_RESULT>
130 0
131 </COMMAND_RESULT>
132 <COMMAND_OUTPUT>
133 Available tracing sessions:
134 1) mysession1 (/home/user/lttng-traces/mysession1-20120123-083928) [inactive]
135 2) mysession (/home/user/lttng-traces/mysession-20120123-083318) [inactive]
136
137 Use lttng list <session_name> for more details
138 </COMMAND_OUTPUT>
139 </SCENARIO>
140
141 ####################################################################
142 # Scenario: Test lttng list <name> where session doesn't exist
143 ####################################################################
144 <SCENARIO>
145 GetSessionNameNotExist
146 <COMMAND_INPUT>
147 lttng list test
148 </COMMAND_INPUT>
149 <COMMAND_RESULT>
150 1
151 </COMMAND_RESULT>
152 <COMMAND_OUTPUT>
153 Session test not found
154 Error: Session name not found
155 </COMMAND_OUTPUT>
156 </SCENARIO>
157
158 ####################################################################
159 # Scenario: Test lttng list with garbage output
160 ####################################################################
161 <SCENARIO>
162 GetSessionGarbageOut
163 <COMMAND_INPUT>
164 lttng list
165 </COMMAND_INPUT>
166 <COMMAND_RESULT>
167 0
168 </COMMAND_RESULT>
169 <COMMAND_OUTPUT>
170 asdfaereafsdcv 12333456434&*89**(())(^%$*
171 @#$%^&*()@#$%^&*()0834523094578kj;djkfs
172 a;sdf094v5u dsafj;sd9
173 </COMMAND_OUTPUT>
174 </SCENARIO>
175
176 ####################################################################
177 # Scenario: Test lttng list <name> with sample outputs
178 ####################################################################
179 <SCENARIO>
180 GetSession1
181 <COMMAND_INPUT>
182 lttng list mysession
183 </COMMAND_INPUT>
184 <COMMAND_RESULT>
185 0
186 </COMMAND_RESULT>
187 <COMMAND_OUTPUT>
188 Tracing session mysession: [active]
189 Trace path: /home/user/lttng-traces/mysession-20120129-084256
190
191 === Domain: Kernel ===
192
193 Channels:
194 -------------
195 - channel0: [enabled]
196
197 Attributes:
198 overwrite mode: 0
199 subbufers size: 262144
200 number of subbufers: 4
201 switch timer interval: 0
202 read timer interval: 200
203 output: splice()
204
205 Events:
206 block_rq_remap (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
207 block_bio_remap (loglevel: TRACE_EMERG (0)) (type: tracepoint) [disabled]
208
209 - channel1: [disabled]
210
211 Attributes:
212 overwrite mode: 1
213 subbufers size: 524288
214 number of subbufers: 4
215 switch timer interval: 100
216 read timer interval: 400
217 output: splice()
218
219 Events:
220 None
221
222 === Domain: UST global ===
223
224 Channels:
225 -------------
226 - mychannel1: [disabled]
227
228 Attributes:
229 overwrite mode: 1
230 subbufers size: 8192
231 number of subbufers: 8
232 switch timer interval: 200
233 read timer interval: 100
234 output: mmap()
235
236 Events:
237 None
238
239 - channel0: [enabled]
240
241 Attributes:
242 overwrite mode: 0
243 subbufers size: 4096
244 number of subbufers: 4
245 switch timer interval: 0
246 read timer interval: 200
247 output: mmap()
248
249 Events:
250 ust_tests_hello:tptest_sighandler (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint) [disabled]
251 * (type: tracepoint) [enabled]
252
253 </COMMAND_OUTPUT>
254 <COMMAND_INPUT>
255 lttng list mysession1
256 </COMMAND_INPUT>
257 <COMMAND_RESULT>
258 0
259 </COMMAND_RESULT>
260 <COMMAND_OUTPUT>
261 Tracing session mysession1: [inactive]
262 Trace path: /home/user/lttng-traces/mysession1-20120203-133225
263
264 </COMMAND_OUTPUT>
265 </SCENARIO>
266
267
268 ####################################################################
269 # Scenario: Test "lttng list -k" with sample output
270 ####################################################################
271 <SCENARIO>
272 GetKernelProvider1
273 <COMMAND_INPUT>
274 lttng list -k
275 </COMMAND_INPUT>
276 <COMMAND_RESULT>
277 0
278 </COMMAND_RESULT>
279 <COMMAND_OUTPUT>
280 Kernel events
281 -------------
282 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint)
283 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint)
284 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint)
285
286 </COMMAND_OUTPUT>
287 </SCENARIO>
288
289 ####################################################################
290 # Scenario: Test "lttng list -u" with sample output
291 ####################################################################
292 <SCENARIO>
293 GetUstProvider1
294 <COMMAND_INPUT>
295 lttng list -u
296 </COMMAND_INPUT>
297 <COMMAND_RESULT>
298 0
299 </COMMAND_RESULT>
300 <COMMAND_OUTPUT>
301 UST events:
302 -------------
303
304 PID: 9379 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
305 ust_tests_hello:tptest_sighandler (loglevel: TRACE_DEBUG_MODULE (10)) (type: tracepoint)
306 ust_tests_hello:tptest (loglevel: TRACE_INFO (6)) (type: tracepoint)
307
308 PID: 4852 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
309 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
310 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
311
312 </COMMAND_OUTPUT>
313 </SCENARIO>
314
315 ####################################################################
316 # Scenario: Test "lttng list -u" with no UST provider available
317 ####################################################################
318 <SCENARIO>
319 GetUstProvider2
320 <COMMAND_INPUT>
321 lttng list -u
322 </COMMAND_INPUT>
323 <COMMAND_RESULT>
324 0
325 </COMMAND_RESULT>
326 <COMMAND_OUTPUT>
327 UST events:
328 -------------
329 None
330
331 </COMMAND_OUTPUT>
332 </SCENARIO>
333
334 ####################################################################
335 # Scenario: Test "lttng create <session>
336 ####################################################################
337 <SCENARIO>
338 CreateSession1
339 <COMMAND_INPUT>
340 lttng create mysession2
341 </COMMAND_INPUT>
342 <COMMAND_RESULT>
343 0
344 </COMMAND_RESULT>
345 <COMMAND_OUTPUT>
346 Session mysession2 created.
347 Traces will be written in /home/user/lttng-traces/mysession2-20120209-095418
348 </COMMAND_OUTPUT>
349 </SCENARIO>
350
351 ####################################################################
352 # Scenario: Test "lttng create <session>
353 ####################################################################
354 <SCENARIO>
355 CreateSessionWithPrompt
356 <COMMAND_INPUT>
357 lttng create mysession2
358 </COMMAND_INPUT>
359 <COMMAND_RESULT>
360 0
361 </COMMAND_RESULT>
362 <COMMAND_OUTPUT>
363 Prompt> Session mysession2 created.
364 Traces will be written in /home/user/lttng-traces/mysession2-20120209-095418
365 </COMMAND_OUTPUT>
366 </SCENARIO>
367
368 ####################################################################
369 # Scenario: Test "lttng create <session> with different variants
370 # and errors
371 ####################################################################
372 <SCENARIO>
373 CreateSessionVariants
374 <COMMAND_INPUT>
375 lttng create alreadyExist
376 </COMMAND_INPUT>
377 <COMMAND_RESULT>
378 1
379 </COMMAND_RESULT>
380 <COMMAND_OUTPUT>
381 Error: Session name already exist
382 </COMMAND_OUTPUT>
383
384 <COMMAND_INPUT>
385 lttng create "session with spaces"
386 </COMMAND_INPUT>
387 <COMMAND_RESULT>
388 0
389 </COMMAND_RESULT>
390 <COMMAND_OUTPUT>
391 Session session with spaces created.
392 Traces will be written in /home/user/lttng-traces/session with spaces-20120209-095418
393 </COMMAND_OUTPUT>
394
395 <COMMAND_INPUT>
396 lttng create wrongName
397 </COMMAND_INPUT>
398 <COMMAND_RESULT>
399 0
400 </COMMAND_RESULT>
401 <COMMAND_OUTPUT>
402 Session auto created.
403 Traces will be written in /home/user/lttng-traces/auto-20120209-095418
404 </COMMAND_OUTPUT>
405
406 <COMMAND_INPUT>
407 lttng create wrongPath -o /home/user/hallo
408 </COMMAND_INPUT>
409 <COMMAND_RESULT>
410 0
411 </COMMAND_RESULT>
412 <COMMAND_OUTPUT>
413 Session wrongPath created.
414 Traces will be written in /home/user/lttng-traces/wrongPath-20120209-095418
415 </COMMAND_OUTPUT>
416
417 <COMMAND_INPUT>
418 lttng create pathWithSpaces -o "/home/user/hallo user/here"
419 </COMMAND_INPUT>
420 <COMMAND_RESULT>
421 0
422 </COMMAND_RESULT>
423 <COMMAND_OUTPUT>
424 Session pathWithSpaces created.
425 Traces will be written in /home/user/hallo user/here/pathWithSpaces-20120209-095418
426 </COMMAND_OUTPUT>
427 </SCENARIO>
428
429 ####################################################################
430 # Scenario: Test "lttng destroy <session>
431 ####################################################################
432
433 <SCENARIO>
434 DestroySession1
435 <COMMAND_INPUT>
436 lttng destroy mysession2
437 </COMMAND_INPUT>
438 <COMMAND_RESULT>
439 0
440 </COMMAND_RESULT>
441 <COMMAND_OUTPUT>
442 Session mysession2 destroyed.
443 </COMMAND_OUTPUT>
444 </SCENARIO>
445
446 ####################################################################
447 # Scenario: Test "lttng enable-channel ..." with different inputs
448 ####################################################################
449
450 <SCENARIO>
451 ChannelHandling
452 <COMMAND_INPUT>
453 lttng enable-channel mychannel0,mychannel1 -k -s mysession2 --overwrite --subbuf-size 16384 --num-subbuf 2 --switch-timer 200 --read-timer 100
454 </COMMAND_INPUT>
455 <COMMAND_RESULT>
456 0
457 </COMMAND_RESULT>
458 <COMMAND_OUTPUT>
459 Kernel channel mychannel0 enabled for session mysession2
460 Kernel channel mychannel1 enabled for session mysession2
461 </COMMAND_OUTPUT>
462
463 <COMMAND_INPUT>
464 lttng enable-channel ustChannel -u -s mysession2 --overwrite --subbuf-size 32768 --num-subbuf 1 --switch-timer 100 --read-timer 200
465 </COMMAND_INPUT>
466 <COMMAND_RESULT>
467 0
468 </COMMAND_RESULT>
469 <COMMAND_OUTPUT>
470 UST channel channel0 enabled for session mysession2
471 </COMMAND_OUTPUT>
472
473 <COMMAND_INPUT>
474 lttng enable-channel mychannel0,mychannel1 -k -s mysession2
475 </COMMAND_INPUT>
476 <COMMAND_RESULT>
477 0
478 </COMMAND_RESULT>
479 <COMMAND_OUTPUT>
480 Kernel channel mychannel0 enabled for session mysession2
481 Kernel channel mychannel1 enabled for session mysession2
482 </COMMAND_OUTPUT>
483
484 <COMMAND_INPUT>
485 lttng enable-channel ustChannel -u -s mysession2
486 </COMMAND_INPUT>
487 <COMMAND_RESULT>
488 0
489 </COMMAND_RESULT>
490 <COMMAND_OUTPUT>
491 UST channel mychannel0 enabled for session mysession2
492 </COMMAND_OUTPUT>
493
494 <COMMAND_INPUT>
495 lttng disable-channel mychannel0,mychannel1 -k -s mysession2
496 </COMMAND_INPUT>
497 <COMMAND_RESULT>
498 0
499 </COMMAND_RESULT>
500 <COMMAND_OUTPUT>
501 Kernel channel mychannel0 disabled for session mysession2
502 Kernel channel mychannel1 disabled for session mysession2
503 </COMMAND_OUTPUT>
504
505 <COMMAND_INPUT>
506 lttng disable-channel ustChannel -u -s mysession2
507 </COMMAND_INPUT>
508 <COMMAND_RESULT>
509 0
510 </COMMAND_RESULT>
511 <COMMAND_OUTPUT>
512 UST channel mychannel0 enabled for session mysession2
513 </COMMAND_OUTPUT>
514 </SCENARIO>
515
516
517 ####################################################################
518 # Scenario: Test "lttng enable-events ..." with different inputs
519 ####################################################################
520 <SCENARIO>
521 EventHandling
522
523 # Tracepoint test cases
524
525 <COMMAND_INPUT>
526 lttng enable-event block_rq_remap,block_bio_remap,softirq_entry -k -s mysession2 --tracepoint
527 </COMMAND_INPUT>
528 <COMMAND_RESULT>
529 0
530 </COMMAND_RESULT>
531 <COMMAND_OUTPUT>
532 kernel event block_rq_remap created in channel channel0
533 kernel event block_bio_remap created in channel channel0
534 kernel event softirq_entry created in channel channel0
535 </COMMAND_OUTPUT>
536
537 <COMMAND_INPUT>
538 lttng enable-event -a -k -s mysession2 -c mychannel --tracepoint
539 </COMMAND_INPUT>
540 <COMMAND_RESULT>
541 0
542 </COMMAND_RESULT>
543 <COMMAND_OUTPUT>
544 All kernel tracepoints are enabled in channel channel0
545 </COMMAND_OUTPUT>
546
547 <COMMAND_INPUT>
548 lttng enable-event ust_tests_hello:tptest_sighandler -u -s mysession2 -c mychannel --tracepoint
549 </COMMAND_INPUT>
550 <COMMAND_RESULT>
551 0
552 </COMMAND_RESULT>
553 <COMMAND_OUTPUT>
554 UST event ust_tests_hello:tptest_sighandler created in channel mychannel
555 </COMMAND_OUTPUT>
556
557 <COMMAND_INPUT>
558 lttng enable-event -a -u -s mysession2 -c mychannel --tracepoint
559 </COMMAND_INPUT>
560 <COMMAND_RESULT>
561 0
562 </COMMAND_RESULT>
563 <COMMAND_OUTPUT>
564 All UST tracepoints are enabled in channel mychannel
565 </COMMAND_OUTPUT>
566
567 # Syscall test cases
568
569 <COMMAND_INPUT>
570 lttng enable-event -a -k -s mysession2 --syscall
571 </COMMAND_INPUT>
572 <COMMAND_RESULT>
573 0
574 </COMMAND_RESULT>
575 <COMMAND_OUTPUT>
576 All kernel system calls are enabled in channel channel0
577 </COMMAND_OUTPUT>
578
579 <COMMAND_INPUT>
580 lttng enable-event -a -k -s mysession2 -c mychannel --syscall
581 </COMMAND_INPUT>
582 <COMMAND_RESULT>
583 0
584 </COMMAND_RESULT>
585 <COMMAND_OUTPUT>
586 All kernel system calls are enabled in channel mychannel
587 </COMMAND_OUTPUT>
588
589 # dynamic probe/function probe test cases
590
591 <COMMAND_INPUT>
592 lttng enable-event myevent0 -k -s mysession2 --function 0xc0101340
593 </COMMAND_INPUT>
594 <COMMAND_RESULT>
595 0
596 </COMMAND_RESULT>
597 <COMMAND_OUTPUT>
598 kernel event myevent0 created in channel mychannel
599 </COMMAND_OUTPUT>
600
601 <COMMAND_INPUT>
602 lttng enable-event myevent1 -k -s mysession2 -c mychannel --probe init_post
603 </COMMAND_INPUT>
604 <COMMAND_RESULT>
605 0
606 </COMMAND_RESULT>
607 <COMMAND_OUTPUT>
608 kernel event myevent1 created in channel mychannel
609 </COMMAND_OUTPUT>
610
611 # log level test cases
612
613 <COMMAND_INPUT>
614 lttng enable-event myevent4 -u -s mysession2 --loglevel-only TRACE_DEBUG
615 </COMMAND_INPUT>
616 <COMMAND_RESULT>
617 0
618 </COMMAND_RESULT>
619 <COMMAND_OUTPUT>
620 UST event myevent4 created in channel channel0
621 </COMMAND_OUTPUT>
622
623 <COMMAND_INPUT>
624 lttng enable-event myevent5 -u -s mysession2 -c mychannel --loglevel TRACE_DEBUG_FUNCTION
625 </COMMAND_INPUT>
626 <COMMAND_RESULT>
627 0
628 </COMMAND_RESULT>
629 <COMMAND_OUTPUT>
630 UST event myevent5 created in channel mychannel
631 </COMMAND_OUTPUT>
632
633 </SCENARIO>
634
635 ####################################################################
636 # Scenario: Test "lttng add-context -h" and lttng add-context ..." with different inputs
637 ####################################################################
638
639 <SCENARIO>
640 ContextHandling
641
642 <COMMAND_INPUT>
643 lttng add-context -h
644 </COMMAND_INPUT>
645 <COMMAND_RESULT>
646 0
647 </COMMAND_RESULT>
648 <COMMAND_OUTPUT>
649 usage: lttng add-context -t TYPE
650
651 If no channel and no event is given (-c/-e), the context
652 will be added to all events and all channels.
653 Otherwise the context will be added only to the channel (-c)
654 and/or event (-e) indicated.
655 Exactly one domain (-k/--kernel or -u/--userspace) must be specified.
656
657 Options:
658 -h, --help Show this help
659 --list-options Simple listing of options
660 -s, --session NAME Apply to session name
661 -c, --channel NAME Apply to channel
662 -e, --event NAME Apply to event
663 -k, --kernel Apply to the kernel tracer
664 -u, --userspace Apply to the user-space tracer
665 -t, --type TYPE Context type. You can repeat that option on
666 the command line to specify multiple contexts at once.
667 (--kernel preempts --userspace)
668 TYPE can be one of the strings below:
669 pid, procname, prio, nice, vpid, tid, pthread_id,
670 vtid, ppid, vppid, perf:cpu-cycles, perf:cycles
671 Example:
672 This command will add the context information 'prio' and two perf
673 counters (hardware branch misses and cache misses), to all events
674 in the trace data output:
675 # lttng add-context -k -t prio -t perf:branch-misses -t perf:cache-misses
676
677 </COMMAND_OUTPUT>
678
679 <COMMAND_INPUT>
680 lttng add-context -s mysession2 -c mychannel -e ust_tests_hello:tptest_sighandler -u -t prio -t pid
681 </COMMAND_INPUT>
682 <COMMAND_RESULT>
683 0
684 </COMMAND_RESULT>
685 <COMMAND_OUTPUT>
686 UST context prio added to event ust_tests_hello:tptest_sighandle channel mychannel
687 UST context pid added to event sched_kthread_stop_ret channel mychannel
688 </COMMAND_OUTPUT>
689 </SCENARIO>
690
691 <SCENARIO>
692 ContextErrorHandling
693
694 <COMMAND_INPUT>
695 lttng add-context -h
696 </COMMAND_INPUT>
697 <COMMAND_RESULT>
698 1
699 </COMMAND_RESULT>
700 <COMMAND_OUTPUT>
701 usage: lttng add-context -t TYPE
702
703 If no channel and no event is given (-c/-e), the context
704 will be added to all events and all channels.
705 Otherwise the context will be added only to the channel (-c)
706 and/or event (-e) indicated.
707 Exactly one domain (-k/--kernel or -u/--userspace) must be specified.
708
709 Options:
710 -h, --help Show this help
711 --list-options Simple listing of options
712 -s, --session NAME Apply to session name
713 -c, --channel NAME Apply to channel
714 -e, --event NAME Apply to event
715 -k, --kernel Apply to the kernel tracer
716 -u, --userspace Apply to the user-space tracer
717 -t, --type TYPE Context type. You can repeat that option on
718 the command line to specify multiple contexts at once.
719 (--kernel preempts --userspace)
720 TYPE can be one of the strings below:
721 pid, procname, prio, nice, vpid, tid, pthread_id,
722 vtid, ppid, vppid, perf:cpu-cycles, perf:cycles
723 Example:
724 This command will add the context information 'prio' and two perf
725 counters (hardware branch misses and cache misses), to all events
726 in the trace data output:
727 # lttng add-context -k -t prio -t perf:branch-misses -t perf:cache-misses
728
729 </COMMAND_OUTPUT>
730
731 <COMMAND_INPUT>
732 lttng add-context -s mysession2 -c mychannel -e ust_tests_hello:tptest_sighandler -u -t prio -t pid
733 </COMMAND_INPUT>
734 <COMMAND_RESULT>
735 1
736 </COMMAND_RESULT>
737 <COMMAND_OUTPUT>
738 UST context prio added to event ust_tests_hello:tptest_sighandle channel mychannel
739 UST context pid added to event sched_kthread_stop_ret channel mychannel
740 </COMMAND_OUTPUT>
741
742 </SCENARIO>
743
744 <SCENARIO>
745 CalibrateHandling
746 <COMMAND_INPUT>
747 lttng calibrate -k --function
748 </COMMAND_INPUT>
749 <COMMAND_RESULT>
750 0
751 </COMMAND_RESULT>
752 <COMMAND_OUTPUT>
753 Kernel calibration done
754 </COMMAND_OUTPUT>
755
756 <COMMAND_INPUT>
757 lttng calibrate -u --function
758 </COMMAND_INPUT>
759 <COMMAND_RESULT>
760 1
761 </COMMAND_RESULT>
762 <COMMAND_OUTPUT>
763 Kernel calibration done
764 </COMMAND_OUTPUT>
765
766 </SCENARIO>
This page took 0.048671 seconds and 5 git commands to generate.