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 no sessions available
14 ####################################################################
24 Currently no available tracing session
36 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint)
37 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint)
38 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint)
52 PID: 9379 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
53 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
54 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
56 PID: 4852 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
57 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
58 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
63 ####################################################################
64 # Scenario: Create and destroy session
65 ####################################################################
70 lttng create mysession
76 Session mysession created.
77 Traces will be written in /home/user/lttng-traces/mysession-20120314-132824
87 Tracing session mysession: [inactive]
88 Trace path: /home/user/lttng-traces/mysession-20120314-132824
93 lttng destroy mysession
99 Session mysession destroyed.
103 lttng start mysession
109 Tracing started for session mysession.
119 Tracing stopped for session mysession.
124 ####################################################################
125 # Scenario: Create and destroy session
126 ####################################################################
128 SessionHandlingWithPath
131 lttng create mysession -o /home/user/temp
137 Session mysession created.
138 Traces will be written in /home/user/temp
148 Tracing session mysession: [inactive]
149 Trace path: /home/user/temp
154 lttng destroy mysession
160 Session mysession destroyed.
166 ####################################################################
167 # Scenario: Enable events from kernel provider events
168 ####################################################################
174 lttng enable-event sched_kthread_stop,sched_kthread_stop_ret -k -s mysession --tracepoint
180 kernel event sched_kthread_stop created in channel channel0
181 kernel sched_kthread_stop_ret created in channel channel0
191 Tracing session mysession: [inactive]
192 Trace path: /home/user/lttng-traces/mysession-20120314-132824
194 === Domain: Kernel ===
198 - channel0: [enabled]
202 subbufers size: 262144
203 number of subbufers: 4
204 switch timer interval: 0
205 read timer interval: 200
209 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
210 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
215 lttng disable-event sched_kthread_stop_ret,sched_kthread_stop -k -s mysession -c channel0
221 kernel event sched_kthread_stop_ret disabled in channel channel0
222 kernel event sched_kthread_stop disabled in channel channel0
226 lttng enable-event sched_kthread_stop -k -s mysession -c channel0 --tracepoint
232 kernel event sched_kthread_stop enabled in channel channel0
237 ####################################################################
238 # Scenario: Enable events from UST provider events
239 ####################################################################
244 lttng enable-channel mychannel -u -s mysession --subbuf-size 16384 --num-subbuf 2 --switch-timer 200 --read-timer 100
250 UST channel mychannel enabled for session mysession
260 Tracing session mysession: [inactive]
261 Trace path: /home/user/temp
263 === Domain: UST global ===
267 - mychannel: [enabled]
271 subbufers size: 16384
272 number of subbufers: 2
273 switch timer interval: 200
274 read timer interval: 100
283 lttng enable-event ust_tests_hello:tptest_sighandler,ust_tests_hello:tptest -u -s mysession --tracepoint
289 UST event ust_tests_hello:tptest_sighandler in channel channel0
290 UST sched_ust_tests_hello:tptest created in channel channel0
300 Tracing session mysession: [inactive]
301 Trace path: /home/user/temp
303 === Domain: UST global ===
307 - mychannel: [enabled]
311 subbufers size: 16384
312 number of subbufers: 2
313 switch timer interval: 200
314 read timer interval: 100
318 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
319 ust_tests_hello:tptest (type: tracepoint) [enabled]
324 lttng disable-event ust_tests_hello:tptest -u -s mysession -c mychannel
330 kernel event ust_tests_hello:tptest in channel mychannel
334 lttng enable-event ust_tests_hello:tptest -u -s mysession -c mychannel --tracepoint
340 kernel event ust_tests_hello:tptest enabled in channel mychannel
349 lttng enable-channel mychannel -k -s mysession --overwrite --subbuf-size 16384 --num-subbuf 4 --switch-timer 100 --read-timer 200
355 Kernel channel mychannel enabled for session mysession
365 Tracing session mysession: [inactive]
366 Trace path: /home/user/lttng-traces/mysession-20120314-132824
368 === Domain: Kernel ===
372 - mychannel: [enabled]
376 subbufers size: 16384
377 number of subbufers: 4
378 switch timer interval: 100
379 read timer interval: 200
388 lttng enable-channel mychannel2 -k -s mysession --subbuf-size 32768 --num-subbuf 2 --switch-timer 100 --read-timer 200
394 Kernel channel mychannel2 enabled for session mysession
404 Tracing session mysession: [inactive]
405 Trace path: /home/user/lttng-traces/mysession-20120314-132824
407 === Domain: Kernel ===
411 - mychannel: [enabled]
415 subbufers size: 16384
416 number of subbufers: 4
417 switch timer interval: 100
418 read timer interval: 200
424 - mychannel2: [enabled]
428 subbufers size: 32768
429 number of subbufers: 2
430 switch timer interval: 100
431 read timer interval: 200
441 lttng disable-channel mychannel,mychannel2 -k -s mysession
447 Kernel channel mychannel disabled for session mysession
448 Kernel channel mychannel2 disabled for session mysession
452 lttng enable-channel mychannel,mychannel2 -k -s mysession
458 Kernel channel mychannel enabled for session mysession
459 Kernel channel mychannel2 enabled for session mysession
463 lttng enable-event sched_kthread_stop,sched_kthread_stop_ret -k -s mysession --tracepoint
469 kernel event sched_kthread_stop created in channel channel0
470 kernel sched_kthread_stop_ret created in channel channel0
480 Tracing session mysession: [inactive]
481 Trace path: /home/user/lttng-traces/mysession-20120314-132824
483 === Domain: Kernel ===
487 - mychannel: [enabled]
491 subbufers size: 16384
492 number of subbufers: 4
493 switch timer interval: 100
494 read timer interval: 200
500 - mychannel2: [enabled]
504 subbufers size: 32768
505 number of subbufers: 2
506 switch timer interval: 100
507 read timer interval: 200
513 - channel0: [enabled]
517 subbufers size: 262144
518 number of subbufers: 4
519 switch timer interval: 0
520 read timer interval: 200
524 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
525 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
530 lttng enable-event sched_wakeup_new -k -s mysession --tracepoint
536 kernel event sched_wakeup_new created in channel channel0
546 Tracing session mysession: [inactive]
547 Trace path: /home/user/lttng-traces/mysession-20120314-132824
549 === Domain: Kernel ===
553 - mychannel: [enabled]
557 subbufers size: 16384
558 number of subbufers: 4
559 switch timer interval: 100
560 read timer interval: 200
566 - mychannel2: [enabled]
570 subbufers size: 32768
571 number of subbufers: 2
572 switch timer interval: 100
573 read timer interval: 200
579 - channel0: [enabled]
583 subbufers size: 262144
584 number of subbufers: 4
585 switch timer interval: 0
586 read timer interval: 200
590 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
591 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
592 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
597 lttng enable-event -a -k -s mysession -c mychannel2 --tracepoint
603 All kernel event sched_kthread_stop created in channel channel0
613 Tracing session mysession: [inactive]
614 Trace path: /home/user/lttng-traces/mysession-20120314-132824
616 === Domain: Kernel ===
620 - mychannel: [enabled]
624 subbufers size: 16384
625 number of subbufers: 4
626 switch timer interval: 100
627 read timer interval: 200
633 - mychannel2: [enabled]
637 subbufers size: 32768
638 number of subbufers: 2
639 switch timer interval: 100
640 read timer interval: 200
644 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
645 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
646 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
648 - channel0: [enabled]
652 subbufers size: 262144
653 number of subbufers: 4
654 switch timer interval: 0
655 read timer interval: 200
659 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
660 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
661 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
666 lttng enable-event -a -k -s mysession -c mychannel --syscall
672 All kernel system calls are enabled in channel mychannel
682 Tracing session mysession: [inactive]
683 Trace path: /home/user/lttng-traces/mysession-20120314-132824
685 === Domain: Kernel ===
689 - mychannel: [enabled]
693 subbufers size: 16384
694 number of subbufers: 4
695 switch timer interval: 100
696 read timer interval: 200
700 syscalls (type: syscall) [enabled]
702 - mychannel2: [enabled]
706 subbufers size: 32768
707 number of subbufers: 2
708 switch timer interval: 100
709 read timer interval: 200
713 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
714 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
715 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
717 - channel0: [enabled]
721 subbufers size: 262144
722 number of subbufers: 4
723 switch timer interval: 0
724 read timer interval: 200
728 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
729 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
730 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
735 lttng enable-event -a -k -s mysession --syscall
741 All kernel system calls are enabled in channel channel0
751 Tracing session mysession: [inactive]
752 Trace path: /home/user/lttng-traces/mysession-20120314-132824
754 === Domain: Kernel ===
758 - mychannel: [enabled]
762 subbufers size: 16384
763 number of subbufers: 4
764 switch timer interval: 100
765 read timer interval: 200
769 syscalls (type: syscall) [enabled]
771 - mychannel2: [enabled]
775 subbufers size: 32768
776 number of subbufers: 2
777 switch timer interval: 100
778 read timer interval: 200
782 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
783 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
784 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
786 - channel0: [enabled]
790 subbufers size: 262144
791 number of subbufers: 4
792 switch timer interval: 0
793 read timer interval: 200
797 syscalls (type: syscall) [enabled]
798 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
799 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
800 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
805 lttng enable-event -a -k -s mysession --syscall
811 All kernel system calls are enabled in channel channel0
821 Tracing session mysession: [inactive]
822 Trace path: /home/user/lttng-traces/mysession-20120314-132824
824 === Domain: Kernel ===
828 - mychannel: [enabled]
832 subbufers size: 16384
833 number of subbufers: 4
834 switch timer interval: 100
835 read timer interval: 200
839 syscalls (type: syscall) [enabled]
841 - mychannel2: [enabled]
845 subbufers size: 32768
846 number of subbufers: 2
847 switch timer interval: 100
848 read timer interval: 200
852 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
853 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
854 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
856 - channel0: [enabled]
860 subbufers size: 262144
861 number of subbufers: 4
862 switch timer interval: 0
863 read timer interval: 200
867 syscalls (type: syscall) [enabled]
868 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
869 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
870 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
875 lttng enable-event myevent1 -k -s mysession --probe 0xc0101280
881 kernel event myevent1 created in channel channel0
891 Tracing session mysession: [inactive]
892 Trace path: /home/user/lttng-traces/mysession-20120314-132824
894 === Domain: Kernel ===
898 - mychannel: [enabled]
902 subbufers size: 16384
903 number of subbufers: 4
904 switch timer interval: 100
905 read timer interval: 200
909 syscalls (type: syscall) [enabled]
911 - mychannel2: [enabled]
915 subbufers size: 32768
916 number of subbufers: 2
917 switch timer interval: 100
918 read timer interval: 200
922 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
923 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
924 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
926 - channel0: [enabled]
930 subbufers size: 262144
931 number of subbufers: 4
932 switch timer interval: 0
933 read timer interval: 200
937 myevent1 (type: probe) [enabled]
939 syscalls (type: syscall) [enabled]
940 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
941 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
942 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
947 lttng enable-event myevent2 -k -s mysession -c channel0 --probe init_post
953 kernel event myevent2 created in channel channel0
963 Tracing session mysession: [inactive]
964 Trace path: /home/user/lttng-traces/mysession-20120314-132824
966 === Domain: Kernel ===
970 - mychannel: [enabled]
974 subbufers size: 16384
975 number of subbufers: 4
976 switch timer interval: 100
977 read timer interval: 200
981 syscalls (type: syscall) [enabled]
983 - mychannel2: [enabled]
987 subbufers size: 32768
988 number of subbufers: 2
989 switch timer interval: 100
990 read timer interval: 200
994 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
995 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
996 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
998 - channel0: [enabled]
1002 subbufers size: 262144
1003 number of subbufers: 4
1004 switch timer interval: 0
1005 read timer interval: 200
1009 myevent2 (type: probe) [enabled]
1012 myevent1 (type: probe) [enabled]
1014 syscalls (type: syscall) [enabled]
1015 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1016 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1017 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1022 lttng enable-event myevent3 -k -s mysession --probe init_post:0x1000
1028 kernel event myevent2 created in channel channel0
1032 lttng list mysession
1038 Tracing session mysession: [inactive]
1039 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1041 === Domain: Kernel ===
1045 - mychannel: [enabled]
1049 subbufers size: 16384
1050 number of subbufers: 4
1051 switch timer interval: 100
1052 read timer interval: 200
1056 syscalls (type: syscall) [enabled]
1058 - mychannel2: [enabled]
1062 subbufers size: 32768
1063 number of subbufers: 2
1064 switch timer interval: 100
1065 read timer interval: 200
1069 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1070 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1071 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1073 - channel0: [enabled]
1077 subbufers size: 262144
1078 number of subbufers: 4
1079 switch timer interval: 0
1080 read timer interval: 200
1084 myevent3 (type: probe) [enabled]
1087 myevent2 (type: probe) [enabled]
1090 myevent1 (type: probe) [enabled]
1092 syscalls (type: syscall) [enabled]
1093 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1094 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1095 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1100 lttng enable-event myevent4 -k -s mysession --function create_dev
1106 kernel event myevent4 created in channel channel0
1110 lttng list mysession
1116 Tracing session mysession: [inactive]
1117 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1119 === Domain: Kernel ===
1123 - mychannel: [enabled]
1127 subbufers size: 16384
1128 number of subbufers: 4
1129 switch timer interval: 100
1130 read timer interval: 200
1134 syscalls (type: syscall) [enabled]
1136 - mychannel2: [enabled]
1140 subbufers size: 32768
1141 number of subbufers: 2
1142 switch timer interval: 100
1143 read timer interval: 200
1147 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1148 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1149 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1151 - channel0: [enabled]
1155 subbufers size: 262144
1156 number of subbufers: 4
1157 switch timer interval: 0
1158 read timer interval: 200
1162 myevent4 (type: probe) [enabled]
1165 myevent3 (type: probe) [enabled]
1168 myevent2 (type: probe) [enabled]
1171 myevent1 (type: probe) [enabled]
1173 syscalls (type: syscall) [enabled]
1174 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1175 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1176 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1181 lttng enable-event myevent5 -k -s mysession --function create_dev:0x2000
1187 kernel event myevent5 created in channel channel0
1191 lttng list mysession
1197 Tracing session mysession: [inactive]
1198 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1200 === Domain: Kernel ===
1204 - mychannel: [enabled]
1208 subbufers size: 16384
1209 number of subbufers: 4
1210 switch timer interval: 100
1211 read timer interval: 200
1215 syscalls (type: syscall) [enabled]
1217 - mychannel2: [enabled]
1221 subbufers size: 32768
1222 number of subbufers: 2
1223 switch timer interval: 100
1224 read timer interval: 200
1228 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1229 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1230 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1232 - channel0: [enabled]
1236 subbufers size: 262144
1237 number of subbufers: 4
1238 switch timer interval: 0
1239 read timer interval: 200
1243 myevent5 (type: probe) [enabled]
1246 myevent4 (type: probe) [enabled]
1249 myevent3 (type: probe) [enabled]
1252 myevent2 (type: probe) [enabled]
1255 myevent1 (type: probe) [enabled]
1257 syscalls (type: syscall) [enabled]
1258 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1259 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1260 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1265 lttng enable-event myevent -k -s mysession -c mychannel --function create_dev:0x2000
1271 kernel event myevent created in channel mychannel
1275 lttng list mysession
1281 Tracing session mysession: [inactive]
1282 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1284 === Domain: Kernel ===
1288 - mychannel: [enabled]
1292 subbufers size: 16384
1293 number of subbufers: 4
1294 switch timer interval: 100
1295 read timer interval: 200
1299 myevent (type: probe) [enabled]
1302 syscalls (type: syscall) [enabled]
1304 - mychannel2: [enabled]
1308 subbufers size: 32768
1309 number of subbufers: 2
1310 switch timer interval: 100
1311 read timer interval: 200
1315 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1316 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1317 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1319 - channel0: [enabled]
1323 subbufers size: 262144
1324 number of subbufers: 4
1325 switch timer interval: 0
1326 read timer interval: 200
1330 myevent5 (type: probe) [enabled]
1333 myevent4 (type: probe) [enabled]
1336 myevent3 (type: probe) [enabled]
1339 myevent2 (type: probe) [enabled]
1342 myevent1 (type: probe) [enabled]
1344 syscalls (type: syscall) [enabled]
1345 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1346 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1347 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1358 Available tracing sessions:
1359 1) mysession (/home/eedbhu/lttng-traces/mysession-20120321-115617) [inactive]
1361 Use lttng list <session_name> for more details
1373 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint)
1374 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint)
1375 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint)
1389 PID: 9379 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
1390 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
1391 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
1393 PID: 4852 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
1394 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
1395 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
1400 lttng list mysession
1406 Tracing session mysession: [inactive]
1407 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1409 === Domain: Kernel ===
1413 - mychannel: [enabled]
1417 subbufers size: 16384
1418 number of subbufers: 4
1419 switch timer interval: 100
1420 read timer interval: 200
1424 myevent (type: probe) [enabled]
1427 syscalls (type: syscall) [enabled]
1429 - mychannel2: [enabled]
1433 subbufers size: 32768
1434 number of subbufers: 2
1435 switch timer interval: 100
1436 read timer interval: 200
1440 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1441 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1442 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1444 - channel0: [enabled]
1448 subbufers size: 262144
1449 number of subbufers: 4
1450 switch timer interval: 0
1451 read timer interval: 200
1455 myevent5 (type: probe) [enabled]
1458 myevent4 (type: probe) [enabled]
1461 myevent3 (type: probe) [enabled]
1464 myevent2 (type: probe) [enabled]
1467 myevent1 (type: probe) [enabled]
1469 syscalls (type: syscall) [enabled]
1470 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1471 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1472 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1482 lttng enable-channel mychannel -u -s mysession --overwrite --subbuf-size 16384 --num-subbuf 4 --switch-timer 100 --read-timer 200
1488 UST channel mychannel enabled for session mysession
1492 lttng list mysession
1498 Tracing session mysession: [inactive]
1499 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1501 === Domain: UST global ===
1505 - mychannel: [enabled]
1509 subbufers size: 16384
1510 number of subbufers: 4
1511 switch timer interval: 100
1512 read timer interval: 200
1521 lttng enable-channel mychannel2 -u -s mysession --subbuf-size 32768 --num-subbuf 2 --switch-timer 100 --read-timer 200
1527 UST channel mychannel2 enabled for session mysession
1531 lttng list mysession
1537 Tracing session mysession: [inactive]
1538 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1540 === Domain: UST global ===
1544 - mychannel: [enabled]
1548 subbufers size: 16384
1549 number of subbufers: 4
1550 switch timer interval: 100
1551 read timer interval: 200
1557 - mychannel2: [enabled]
1561 subbufers size: 32768
1562 number of subbufers: 2
1563 switch timer interval: 100
1564 read timer interval: 200
1573 lttng enable-event ust_tests_hello:tptest_sighandler -u -s mysession --tracepoint
1579 UST event ust_tests_hello:tptest_sighandler created in channel channel0
1583 lttng list mysession
1589 Tracing session mysession: [inactive]
1590 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1592 === Domain: UST global ===
1596 - mychannel: [enabled]
1600 subbufers size: 16384
1601 number of subbufers: 4
1602 switch timer interval: 100
1603 read timer interval: 200
1609 - mychannel2: [enabled]
1613 subbufers size: 32768
1614 number of subbufers: 2
1615 switch timer interval: 100
1616 read timer interval: 200
1622 - channel0: [enabled]
1626 subbufers size: 262144
1627 number of subbufers: 4
1628 switch timer interval: 0
1629 read timer interval: 200
1633 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
1638 lttng enable-event ust_tests_hello:tptest -u -s mysession --tracepoint
1644 UST event ust_tests_hello:tptest created in channel channel0
1648 lttng list mysession
1654 Tracing session mysession: [inactive]
1655 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1657 === Domain: UST global ===
1661 - mychannel: [enabled]
1665 subbufers size: 16384
1666 number of subbufers: 4
1667 switch timer interval: 100
1668 read timer interval: 200
1674 - mychannel2: [enabled]
1678 subbufers size: 32768
1679 number of subbufers: 2
1680 switch timer interval: 100
1681 read timer interval: 200
1687 - channel0: [enabled]
1691 subbufers size: 262144
1692 number of subbufers: 4
1693 switch timer interval: 0
1694 read timer interval: 200
1698 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
1699 ust_tests_hello:tptest (type: tracepoint) [enabled]
1704 lttng enable-event -a -u -s mysession -c mychannel2 --tracepoint
1710 All UST events created in channel channel0
1714 lttng list mysession
1720 Tracing session mysession: [inactive]
1721 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1723 === Domain: UST global ===
1727 - mychannel: [enabled]
1731 subbufers size: 16384
1732 number of subbufers: 4
1733 switch timer interval: 100
1734 read timer interval: 200
1740 - mychannel2: [enabled]
1744 subbufers size: 32768
1745 number of subbufers: 2
1746 switch timer interval: 100
1747 read timer interval: 200
1751 * (type: tracepoint) [enabled]
1753 - channel0: [enabled]
1757 subbufers size: 262144
1758 number of subbufers: 4
1759 switch timer interval: 0
1760 read timer interval: 200
1764 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
1765 ust_tests_hello:tptest (type: tracepoint) [enabled]
1770 lttng enable-event ust* -u -s mysession -c mychannel --tracepoint
1776 UST event ust* created in channel mychannel
1780 lttng list mysession
1786 Tracing session mysession: [inactive]
1787 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1789 === Domain: UST global ===
1793 - mychannel: [enabled]
1797 subbufers size: 16384
1798 number of subbufers: 4
1799 switch timer interval: 100
1800 read timer interval: 200
1804 ust* (type: tracepoint) [enabled]
1806 - mychannel2: [enabled]
1810 subbufers size: 32768
1811 number of subbufers: 2
1812 switch timer interval: 100
1813 read timer interval: 200
1817 * (type: tracepoint) [enabled]
1819 - channel0: [enabled]
1823 subbufers size: 262144
1824 number of subbufers: 4
1825 switch timer interval: 0
1826 read timer interval: 200
1830 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
1831 ust_tests_hello:tptest (type: tracepoint) [enabled]
1836 lttng enable-event ust* -u -s mysession --tracepoint
1842 UST event ust* created in channel channel0
1846 lttng list mysession
1852 Tracing session mysession: [inactive]
1853 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1855 === Domain: UST global ===
1859 - mychannel: [enabled]
1863 subbufers size: 16384
1864 number of subbufers: 4
1865 switch timer interval: 100
1866 read timer interval: 200
1870 ust* (type: tracepoint) [enabled]
1872 - mychannel2: [enabled]
1876 subbufers size: 32768
1877 number of subbufers: 2
1878 switch timer interval: 100
1879 read timer interval: 200
1883 * (type: tracepoint) [enabled]
1885 - channel0: [enabled]
1889 subbufers size: 262144
1890 number of subbufers: 4
1891 switch timer interval: 0
1892 read timer interval: 200
1896 ust* (type: tracepoint) [enabled]
1897 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
1898 ust_tests_hello:tptest (type: tracepoint) [enabled]
1903 lttng enable-event u* -u -s mysession --tracepoint
1909 UST event u* created in channel channel0
1913 lttng list mysession
1919 Tracing session mysession: [inactive]
1920 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1922 === Domain: UST global ===
1926 - mychannel: [enabled]
1930 subbufers size: 16384
1931 number of subbufers: 4
1932 switch timer interval: 100
1933 read timer interval: 200
1937 ust* (type: tracepoint) [enabled]
1939 - mychannel2: [enabled]
1943 subbufers size: 32768
1944 number of subbufers: 2
1945 switch timer interval: 100
1946 read timer interval: 200
1950 * (type: tracepoint) [enabled]
1952 - channel0: [enabled]
1956 subbufers size: 262144
1957 number of subbufers: 4
1958 switch timer interval: 0
1959 read timer interval: 200
1963 u* (type: tracepoint) [enabled]
1964 ust* (type: tracepoint) [enabled]
1965 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
1966 ust_tests_hello:tptest (type: tracepoint) [enabled]
1972 lttng enable-event myevent1 -u -s mysession --loglevel TRACE_WARNING
1978 UST event myevent1 created in channel channel0
1982 lttng list mysession
1988 Tracing session mysession: [inactive]
1989 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1991 === Domain: UST global ===
1995 - mychannel: [enabled]
1999 subbufers size: 16384
2000 number of subbufers: 4
2001 switch timer interval: 100
2002 read timer interval: 200
2006 ust* (type: tracepoint) [enabled]
2008 - mychannel2: [enabled]
2012 subbufers size: 32768
2013 number of subbufers: 2
2014 switch timer interval: 100
2015 read timer interval: 200
2019 * (type: tracepoint) [enabled]
2021 - channel0: [enabled]
2025 subbufers size: 262144
2026 number of subbufers: 4
2027 switch timer interval: 0
2028 read timer interval: 200
2032 myevent1 (loglevel: TRACE_WARNING (4)) (type: tracepoint) [enabled]
2033 u* (type: tracepoint) [enabled]
2034 ust* (type: tracepoint) [enabled]
2035 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2036 ust_tests_hello:tptest (type: tracepoint) [enabled]
2041 lttng enable-event myevent2 -u -s mysession --loglevel-only TRACE_DEBUG_FUNCTION
2047 UST event myevent2 created in channel channel0
2051 lttng list mysession
2057 Tracing session mysession: [inactive]
2058 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2060 === Domain: UST global ===
2064 - mychannel: [enabled]
2068 subbufers size: 16384
2069 number of subbufers: 4
2070 switch timer interval: 100
2071 read timer interval: 200
2075 ust* (type: tracepoint) [enabled]
2077 - mychannel2: [enabled]
2081 subbufers size: 32768
2082 number of subbufers: 2
2083 switch timer interval: 100
2084 read timer interval: 200
2088 * (type: tracepoint) [enabled]
2090 - channel0: [enabled]
2094 subbufers size: 262144
2095 number of subbufers: 4
2096 switch timer interval: 0
2097 read timer interval: 200
2101 myevent2 (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint) [enabled]
2102 myevent1 (loglevel: TRACE_WARNING (4)) (type: loglevel) [enabled]
2103 u* (type: tracepoint) [enabled]
2104 ust* (type: tracepoint) [enabled]
2105 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2106 ust_tests_hello:tptest (type: tracepoint) [enabled]
2111 lttng enable-event myevent0 -u -s mysession -c mychannel --loglevel-only TRACE_DEBUG_FUNCTION
2117 UST event myevent0 created in channel mychannel
2121 lttng list mysession
2127 Tracing session mysession: [inactive]
2128 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2130 === Domain: UST global ===
2134 - mychannel: [enabled]
2138 subbufers size: 16384
2139 number of subbufers: 4
2140 switch timer interval: 100
2141 read timer interval: 200
2145 myevent0 (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint) [enabled]
2146 ust* (type: tracepoint) [enabled]
2148 - mychannel2: [enabled]
2152 subbufers size: 32768
2153 number of subbufers: 2
2154 switch timer interval: 100
2155 read timer interval: 200
2159 * (type: tracepoint) [enabled]
2161 - channel0: [enabled]
2165 subbufers size: 262144
2166 number of subbufers: 4
2167 switch timer interval: 0
2168 read timer interval: 200
2172 myevent2 (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint) [enabled]
2173 myevent1 (loglevel: TRACE_WARNING (4)) (type: loglevel) [enabled]
2174 u* (type: tracepoint) [enabled]
2175 ust* (type: tracepoint) [enabled]
2176 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2177 ust_tests_hello:tptest (type: tracepoint) [enabled]