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 lttng version 2.0.0 - Annedd'ale
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: Create and destroy session
78 ####################################################################
83 lttng create mysession
89 Session mysession created.
90 Traces will be written in /home/user/lttng-traces/mysession-20120314-132824
100 Tracing session mysession: [inactive]
101 Trace path: /home/user/lttng-traces/mysession-20120314-132824
106 lttng destroy mysession
112 Session mysession destroyed.
116 lttng start mysession
122 Tracing started for session mysession.
132 Tracing stopped for session mysession.
137 ####################################################################
138 # Scenario: Create and destroy session
139 ####################################################################
141 SessionHandlingWithPath
144 lttng create mysession -o /home/user/temp
150 Session mysession created.
151 Traces will be written in /home/user/temp
161 Tracing session mysession: [inactive]
162 Trace path: /home/user/temp
167 lttng destroy mysession
173 Session mysession destroyed.
179 ####################################################################
180 # Scenario: Enable events from kernel provider events
181 ####################################################################
187 lttng enable-event sched_kthread_stop,sched_kthread_stop_ret -k -s mysession --tracepoint
193 kernel event sched_kthread_stop created in channel channel0
194 kernel sched_kthread_stop_ret created in channel channel0
204 Tracing session mysession: [inactive]
205 Trace path: /home/user/lttng-traces/mysession-20120314-132824
207 === Domain: Kernel ===
211 - channel0: [enabled]
215 subbufers size: 262144
216 number of subbufers: 4
217 switch timer interval: 0
218 read timer interval: 200
222 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
223 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
228 lttng disable-event sched_kthread_stop_ret,sched_kthread_stop -k -s mysession -c channel0
234 kernel event sched_kthread_stop_ret disabled in channel channel0
235 kernel event sched_kthread_stop disabled in channel channel0
239 lttng enable-event sched_kthread_stop -k -s mysession -c channel0 --tracepoint
245 kernel event sched_kthread_stop enabled in channel channel0
250 ####################################################################
251 # Scenario: Enable events from UST provider events
252 ####################################################################
257 lttng enable-channel mychannel -u -s mysession --subbuf-size 16384 --num-subbuf 2 --switch-timer 200 --read-timer 100
263 UST channel mychannel enabled for session mysession
273 Tracing session mysession: [inactive]
274 Trace path: /home/user/temp
276 === Domain: UST global ===
280 - mychannel: [enabled]
284 subbufers size: 16384
285 number of subbufers: 2
286 switch timer interval: 200
287 read timer interval: 100
296 lttng enable-event ust_tests_hello:tptest_sighandler,ust_tests_hello:tptest -u -s mysession --tracepoint
302 UST event ust_tests_hello:tptest_sighandler in channel channel0
303 UST sched_ust_tests_hello:tptest created in channel channel0
313 Tracing session mysession: [inactive]
314 Trace path: /home/user/temp
316 === Domain: UST global ===
320 - mychannel: [enabled]
324 subbufers size: 16384
325 number of subbufers: 2
326 switch timer interval: 200
327 read timer interval: 100
331 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
332 ust_tests_hello:tptest (type: tracepoint) [enabled]
337 lttng disable-event ust_tests_hello:tptest -u -s mysession -c mychannel
343 kernel event ust_tests_hello:tptest in channel mychannel
347 lttng enable-event ust_tests_hello:tptest -u -s mysession -c mychannel --tracepoint
353 kernel event ust_tests_hello:tptest enabled in channel mychannel
362 lttng enable-channel mychannel -k -s mysession --overwrite --subbuf-size 16384 --num-subbuf 4 --switch-timer 100 --read-timer 200
368 Kernel channel mychannel enabled for session mysession
378 Tracing session mysession: [inactive]
379 Trace path: /home/user/lttng-traces/mysession-20120314-132824
381 === Domain: Kernel ===
385 - mychannel: [enabled]
389 subbufers size: 16384
390 number of subbufers: 4
391 switch timer interval: 100
392 read timer interval: 200
401 lttng enable-channel mychannel2 -k -s mysession --subbuf-size 32768 --num-subbuf 2 --switch-timer 100 --read-timer 200
407 Kernel channel mychannel2 enabled for session mysession
417 Tracing session mysession: [inactive]
418 Trace path: /home/user/lttng-traces/mysession-20120314-132824
420 === Domain: Kernel ===
424 - mychannel: [enabled]
428 subbufers size: 16384
429 number of subbufers: 4
430 switch timer interval: 100
431 read timer interval: 200
437 - mychannel2: [enabled]
441 subbufers size: 32768
442 number of subbufers: 2
443 switch timer interval: 100
444 read timer interval: 200
454 lttng disable-channel mychannel,mychannel2 -k -s mysession
460 Kernel channel mychannel disabled for session mysession
461 Kernel channel mychannel2 disabled for session mysession
465 lttng enable-channel mychannel,mychannel2 -k -s mysession
471 Kernel channel mychannel enabled for session mysession
472 Kernel channel mychannel2 enabled for session mysession
476 lttng enable-event sched_kthread_stop,sched_kthread_stop_ret -k -s mysession --tracepoint
482 kernel event sched_kthread_stop created in channel channel0
483 kernel sched_kthread_stop_ret created in channel channel0
493 Tracing session mysession: [inactive]
494 Trace path: /home/user/lttng-traces/mysession-20120314-132824
496 === Domain: Kernel ===
500 - mychannel: [enabled]
504 subbufers size: 16384
505 number of subbufers: 4
506 switch timer interval: 100
507 read timer interval: 200
513 - mychannel2: [enabled]
517 subbufers size: 32768
518 number of subbufers: 2
519 switch timer interval: 100
520 read timer interval: 200
526 - channel0: [enabled]
530 subbufers size: 262144
531 number of subbufers: 4
532 switch timer interval: 0
533 read timer interval: 200
537 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
538 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
543 lttng enable-event sched_wakeup_new -k -s mysession --tracepoint
549 kernel event sched_wakeup_new created in channel channel0
559 Tracing session mysession: [inactive]
560 Trace path: /home/user/lttng-traces/mysession-20120314-132824
562 === Domain: Kernel ===
566 - mychannel: [enabled]
570 subbufers size: 16384
571 number of subbufers: 4
572 switch timer interval: 100
573 read timer interval: 200
579 - mychannel2: [enabled]
583 subbufers size: 32768
584 number of subbufers: 2
585 switch timer interval: 100
586 read timer interval: 200
592 - channel0: [enabled]
596 subbufers size: 262144
597 number of subbufers: 4
598 switch timer interval: 0
599 read timer interval: 200
603 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
604 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
605 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
610 lttng enable-event -a -k -s mysession -c mychannel2 --tracepoint
616 All kernel event sched_kthread_stop created in channel channel0
626 Tracing session mysession: [inactive]
627 Trace path: /home/user/lttng-traces/mysession-20120314-132824
629 === Domain: Kernel ===
633 - mychannel: [enabled]
637 subbufers size: 16384
638 number of subbufers: 4
639 switch timer interval: 100
640 read timer interval: 200
646 - mychannel2: [enabled]
650 subbufers size: 32768
651 number of subbufers: 2
652 switch timer interval: 100
653 read timer interval: 200
657 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
658 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
659 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
661 - channel0: [enabled]
665 subbufers size: 262144
666 number of subbufers: 4
667 switch timer interval: 0
668 read timer interval: 200
672 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
673 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
674 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
679 lttng enable-event -a -k -s mysession -c mychannel --syscall
685 All kernel system calls are enabled in channel mychannel
695 Tracing session mysession: [inactive]
696 Trace path: /home/user/lttng-traces/mysession-20120314-132824
698 === Domain: Kernel ===
702 - mychannel: [enabled]
706 subbufers size: 16384
707 number of subbufers: 4
708 switch timer interval: 100
709 read timer interval: 200
713 syscalls (type: syscall) [enabled]
715 - mychannel2: [enabled]
719 subbufers size: 32768
720 number of subbufers: 2
721 switch timer interval: 100
722 read timer interval: 200
726 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
727 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
728 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
730 - channel0: [enabled]
734 subbufers size: 262144
735 number of subbufers: 4
736 switch timer interval: 0
737 read timer interval: 200
741 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
742 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
743 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
748 lttng enable-event -a -k -s mysession --syscall
754 All kernel system calls are enabled in channel channel0
764 Tracing session mysession: [inactive]
765 Trace path: /home/user/lttng-traces/mysession-20120314-132824
767 === Domain: Kernel ===
771 - mychannel: [enabled]
775 subbufers size: 16384
776 number of subbufers: 4
777 switch timer interval: 100
778 read timer interval: 200
782 syscalls (type: syscall) [enabled]
784 - mychannel2: [enabled]
788 subbufers size: 32768
789 number of subbufers: 2
790 switch timer interval: 100
791 read timer interval: 200
795 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
796 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
797 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
799 - channel0: [enabled]
803 subbufers size: 262144
804 number of subbufers: 4
805 switch timer interval: 0
806 read timer interval: 200
810 syscalls (type: syscall) [enabled]
811 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
812 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
813 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
818 lttng enable-event -a -k -s mysession --syscall
824 All kernel system calls are enabled in channel channel0
834 Tracing session mysession: [inactive]
835 Trace path: /home/user/lttng-traces/mysession-20120314-132824
837 === Domain: Kernel ===
841 - mychannel: [enabled]
845 subbufers size: 16384
846 number of subbufers: 4
847 switch timer interval: 100
848 read timer interval: 200
852 syscalls (type: syscall) [enabled]
854 - mychannel2: [enabled]
858 subbufers size: 32768
859 number of subbufers: 2
860 switch timer interval: 100
861 read timer interval: 200
865 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
866 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
867 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
869 - channel0: [enabled]
873 subbufers size: 262144
874 number of subbufers: 4
875 switch timer interval: 0
876 read timer interval: 200
880 syscalls (type: syscall) [enabled]
881 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
882 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
883 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
888 lttng enable-event myevent1 -k -s mysession --probe 0xc0101280
894 kernel event myevent1 created in channel channel0
904 Tracing session mysession: [inactive]
905 Trace path: /home/user/lttng-traces/mysession-20120314-132824
907 === Domain: Kernel ===
911 - mychannel: [enabled]
915 subbufers size: 16384
916 number of subbufers: 4
917 switch timer interval: 100
918 read timer interval: 200
922 syscalls (type: syscall) [enabled]
924 - mychannel2: [enabled]
928 subbufers size: 32768
929 number of subbufers: 2
930 switch timer interval: 100
931 read timer interval: 200
935 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
936 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
937 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
939 - channel0: [enabled]
943 subbufers size: 262144
944 number of subbufers: 4
945 switch timer interval: 0
946 read timer interval: 200
950 myevent1 (type: probe) [enabled]
952 syscalls (type: syscall) [enabled]
953 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
954 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
955 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
960 lttng enable-event myevent2 -k -s mysession -c channel0 --probe init_post
966 kernel event myevent2 created in channel channel0
976 Tracing session mysession: [inactive]
977 Trace path: /home/user/lttng-traces/mysession-20120314-132824
979 === Domain: Kernel ===
983 - mychannel: [enabled]
987 subbufers size: 16384
988 number of subbufers: 4
989 switch timer interval: 100
990 read timer interval: 200
994 syscalls (type: syscall) [enabled]
996 - mychannel2: [enabled]
1000 subbufers size: 32768
1001 number of subbufers: 2
1002 switch timer interval: 100
1003 read timer interval: 200
1007 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1008 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1009 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1011 - channel0: [enabled]
1015 subbufers size: 262144
1016 number of subbufers: 4
1017 switch timer interval: 0
1018 read timer interval: 200
1022 myevent2 (type: probe) [enabled]
1025 myevent1 (type: probe) [enabled]
1027 syscalls (type: syscall) [enabled]
1028 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1029 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1030 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1035 lttng enable-event myevent3 -k -s mysession --probe init_post:0x1000
1041 kernel event myevent2 created in channel channel0
1045 lttng list mysession
1051 Tracing session mysession: [inactive]
1052 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1054 === Domain: Kernel ===
1058 - mychannel: [enabled]
1062 subbufers size: 16384
1063 number of subbufers: 4
1064 switch timer interval: 100
1065 read timer interval: 200
1069 syscalls (type: syscall) [enabled]
1071 - mychannel2: [enabled]
1075 subbufers size: 32768
1076 number of subbufers: 2
1077 switch timer interval: 100
1078 read timer interval: 200
1082 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1083 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1084 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1086 - channel0: [enabled]
1090 subbufers size: 262144
1091 number of subbufers: 4
1092 switch timer interval: 0
1093 read timer interval: 200
1097 myevent3 (type: probe) [enabled]
1100 myevent2 (type: probe) [enabled]
1103 myevent1 (type: probe) [enabled]
1105 syscalls (type: syscall) [enabled]
1106 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1107 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1108 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1113 lttng enable-event myevent4 -k -s mysession --function create_dev
1119 kernel event myevent4 created in channel channel0
1123 lttng list mysession
1129 Tracing session mysession: [inactive]
1130 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1132 === Domain: Kernel ===
1136 - mychannel: [enabled]
1140 subbufers size: 16384
1141 number of subbufers: 4
1142 switch timer interval: 100
1143 read timer interval: 200
1147 syscalls (type: syscall) [enabled]
1149 - mychannel2: [enabled]
1153 subbufers size: 32768
1154 number of subbufers: 2
1155 switch timer interval: 100
1156 read timer interval: 200
1160 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1161 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1162 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1164 - channel0: [enabled]
1168 subbufers size: 262144
1169 number of subbufers: 4
1170 switch timer interval: 0
1171 read timer interval: 200
1175 myevent4 (type: probe) [enabled]
1178 myevent3 (type: probe) [enabled]
1181 myevent2 (type: probe) [enabled]
1184 myevent1 (type: probe) [enabled]
1186 syscalls (type: syscall) [enabled]
1187 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1188 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1189 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1194 lttng enable-event myevent5 -k -s mysession --function create_dev:0x2000
1200 kernel event myevent5 created in channel channel0
1204 lttng list mysession
1210 Tracing session mysession: [inactive]
1211 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1213 === Domain: Kernel ===
1217 - mychannel: [enabled]
1221 subbufers size: 16384
1222 number of subbufers: 4
1223 switch timer interval: 100
1224 read timer interval: 200
1228 syscalls (type: syscall) [enabled]
1230 - mychannel2: [enabled]
1234 subbufers size: 32768
1235 number of subbufers: 2
1236 switch timer interval: 100
1237 read timer interval: 200
1241 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1242 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1243 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1245 - channel0: [enabled]
1249 subbufers size: 262144
1250 number of subbufers: 4
1251 switch timer interval: 0
1252 read timer interval: 200
1256 myevent5 (type: probe) [enabled]
1259 myevent4 (type: probe) [enabled]
1262 myevent3 (type: probe) [enabled]
1265 myevent2 (type: probe) [enabled]
1268 myevent1 (type: probe) [enabled]
1270 syscalls (type: syscall) [enabled]
1271 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1272 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1273 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1278 lttng enable-event myevent -k -s mysession -c mychannel --function create_dev:0x2000
1284 kernel event myevent created in channel mychannel
1288 lttng list mysession
1294 Tracing session mysession: [inactive]
1295 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1297 === Domain: Kernel ===
1301 - mychannel: [enabled]
1305 subbufers size: 16384
1306 number of subbufers: 4
1307 switch timer interval: 100
1308 read timer interval: 200
1312 myevent (type: probe) [enabled]
1315 syscalls (type: syscall) [enabled]
1317 - mychannel2: [enabled]
1321 subbufers size: 32768
1322 number of subbufers: 2
1323 switch timer interval: 100
1324 read timer interval: 200
1328 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1329 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1330 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1332 - channel0: [enabled]
1336 subbufers size: 262144
1337 number of subbufers: 4
1338 switch timer interval: 0
1339 read timer interval: 200
1343 myevent5 (type: probe) [enabled]
1346 myevent4 (type: probe) [enabled]
1349 myevent3 (type: probe) [enabled]
1352 myevent2 (type: probe) [enabled]
1355 myevent1 (type: probe) [enabled]
1357 syscalls (type: syscall) [enabled]
1358 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1359 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1360 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1371 Available tracing sessions:
1372 1) mysession (/home/eedbhu/lttng-traces/mysession-20120321-115617) [inactive]
1374 Use lttng list <session_name> for more details
1386 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint)
1387 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint)
1388 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint)
1402 PID: 9379 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
1403 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
1404 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
1406 PID: 4852 - Name: /home/user/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
1407 ust_tests_hello:tptest_sighandler (loglevel: TRACE_WARNING (4)) (type: tracepoint)
1408 ust_tests_hello:tptest (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
1413 lttng list mysession
1419 Tracing session mysession: [inactive]
1420 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1422 === Domain: Kernel ===
1426 - mychannel: [enabled]
1430 subbufers size: 16384
1431 number of subbufers: 4
1432 switch timer interval: 100
1433 read timer interval: 200
1437 myevent (type: probe) [enabled]
1440 syscalls (type: syscall) [enabled]
1442 - mychannel2: [enabled]
1446 subbufers size: 32768
1447 number of subbufers: 2
1448 switch timer interval: 100
1449 read timer interval: 200
1453 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1454 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1455 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1457 - channel0: [enabled]
1461 subbufers size: 262144
1462 number of subbufers: 4
1463 switch timer interval: 0
1464 read timer interval: 200
1468 myevent5 (type: probe) [enabled]
1471 myevent4 (type: probe) [enabled]
1474 myevent3 (type: probe) [enabled]
1477 myevent2 (type: probe) [enabled]
1480 myevent1 (type: probe) [enabled]
1482 syscalls (type: syscall) [enabled]
1483 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1484 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1485 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1490 lttng add-context -h
1496 usage: lttng add-context -t TYPE
1498 If no channel and no event is given (-c/-e), the context
1499 will be added to all events and all channels.
1500 Otherwise the context will be added only to the channel (-c)
1501 and/or event (-e) indicated.
1502 Exactly one domain (-k/--kernel or -u/--userspace) must be specified.
1505 -h, --help Show this help
1506 --list-options Simple listing of options
1507 -s, --session NAME Apply to session name
1508 -c, --channel NAME Apply to channel
1509 -e, --event NAME Apply to event
1510 -k, --kernel Apply to the kernel tracer
1511 -u, --userspace Apply to the user-space tracer
1512 -t, --type TYPE Context type. You can repeat that option on
1513 the command line to specify multiple contexts at once.
1514 (--kernel preempts --userspace)
1515 TYPE can be one of the strings below:
1516 pid, procname, prio, nice, vpid, tid, pthread_id,
1517 vtid, ppid, vppid, perf:cpu-cycles, perf:cycles,
1518 perf:stalled-cycles-frontend,
1519 perf:idle-cycles-frontend,
1520 perf:stalled-cycles-backend,
1521 perf:idle-cycles-backend, perf:instructions,
1522 perf:cache-references, perf:cache-misses,
1523 perf:branch-instructions, perf:branches,
1524 perf:branch-misses, perf:bus-cycles,
1525 perf:L1-dcache-loads, perf:L1-dcache-load-misses,
1526 perf:L1-dcache-stores,
1527 perf:L1-dcache-store-misses,
1528 perf:L1-dcache-prefetches,
1529 perf:L1-dcache-prefetch-misses,
1530 perf:L1-icache-loads, perf:L1-icache-load-misses,
1531 perf:L1-icache-stores,
1532 perf:L1-icache-store-misses,
1533 perf:L1-icache-prefetches,
1534 perf:L1-icache-prefetch-misses, perf:LLC-loads,
1535 perf:LLC-load-misses, perf:LLC-stores,
1536 perf:LLC-store-misses, perf:LLC-prefetches,
1537 perf:LLC-prefetch-misses, perf:dTLB-loads,
1538 perf:dTLB-load-misses, perf:dTLB-stores,
1539 perf:dTLB-store-misses, perf:dTLB-prefetches,
1540 perf:dTLB-prefetch-misses, perf:iTLB-loads,
1541 perf:iTLB-load-misses, perf:branch-loads,
1542 perf:branch-load-misses, perf:cpu-clock,
1543 perf:task-clock, perf:page-fault, perf:faults,
1544 perf:major-faults, perf:minor-faults,
1545 perf:context-switches, perf:cs,
1546 perf:cpu-migrations, perf:migrations,
1547 perf:alignment-faults, perf:emulation-faults
1549 This command will add the context information 'prio' and two perf
1550 counters (hardware branch misses and cache misses), to all events
1551 in the trace data output:
1552 # lttng add-context -k -t prio -t perf:branch-misses -t perf:cache-misses
1557 lttng add-context -s mysession -k -t prio -t perf:branch-misses -t perf:cache-misses
1563 kernel context perf:cache-misses added to all channels
1564 kernel context perf:branch-misses added to all channels
1565 kernel context prio added to all channels
1569 lttng list mysession
1575 Tracing session mysession: [inactive]
1576 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1578 === Domain: Kernel ===
1582 - mychannel: [enabled]
1586 subbufers size: 16384
1587 number of subbufers: 4
1588 switch timer interval: 100
1589 read timer interval: 200
1593 myevent (type: probe) [enabled]
1596 syscalls (type: syscall) [enabled]
1598 - mychannel2: [enabled]
1602 subbufers size: 32768
1603 number of subbufers: 2
1604 switch timer interval: 100
1605 read timer interval: 200
1609 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1610 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1611 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1613 - channel0: [enabled]
1617 subbufers size: 262144
1618 number of subbufers: 4
1619 switch timer interval: 0
1620 read timer interval: 200
1624 myevent5 (type: probe) [enabled]
1627 myevent4 (type: probe) [enabled]
1630 myevent3 (type: probe) [enabled]
1633 myevent2 (type: probe) [enabled]
1636 myevent1 (type: probe) [enabled]
1638 syscalls (type: syscall) [enabled]
1639 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1640 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1641 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1646 lttng add-context -h
1652 usage: lttng add-context -t TYPE
1654 If no channel and no event is given (-c/-e), the context
1655 will be added to all events and all channels.
1656 Otherwise the context will be added only to the channel (-c)
1657 and/or event (-e) indicated.
1658 Exactly one domain (-k/--kernel or -u/--userspace) must be specified.
1661 -h, --help Show this help
1662 --list-options Simple listing of options
1663 -s, --session NAME Apply to session name
1664 -c, --channel NAME Apply to channel
1665 -e, --event NAME Apply to event
1666 -k, --kernel Apply to the kernel tracer
1667 -u, --userspace Apply to the user-space tracer
1668 -t, --type TYPE Context type. You can repeat that option on
1669 the command line to specify multiple contexts at once.
1670 (--kernel preempts --userspace)
1671 TYPE can be one of the strings below:
1672 pid, procname, prio, nice, vpid, tid, pthread_id,
1673 vtid, ppid, vppid, perf:cpu-cycles, perf:cycles,
1674 perf:stalled-cycles-frontend,
1675 perf:idle-cycles-frontend,
1676 perf:stalled-cycles-backend,
1677 perf:idle-cycles-backend, perf:instructions,
1678 perf:cache-references, perf:cache-misses,
1679 perf:branch-instructions, perf:branches,
1680 perf:branch-misses, perf:bus-cycles,
1681 perf:L1-dcache-loads, perf:L1-dcache-load-misses,
1682 perf:L1-dcache-stores,
1683 perf:L1-dcache-store-misses,
1684 perf:L1-dcache-prefetches,
1685 perf:L1-dcache-prefetch-misses,
1686 perf:L1-icache-loads, perf:L1-icache-load-misses,
1687 perf:L1-icache-stores,
1688 perf:L1-icache-store-misses,
1689 perf:L1-icache-prefetches,
1690 perf:L1-icache-prefetch-misses, perf:LLC-loads,
1691 perf:LLC-load-misses, perf:LLC-stores,
1692 perf:LLC-store-misses, perf:LLC-prefetches,
1693 perf:LLC-prefetch-misses, perf:dTLB-loads,
1694 perf:dTLB-load-misses, perf:dTLB-stores,
1695 perf:dTLB-store-misses, perf:dTLB-prefetches,
1696 perf:dTLB-prefetch-misses, perf:iTLB-loads,
1697 perf:iTLB-load-misses, perf:branch-loads,
1698 perf:branch-load-misses, perf:cpu-clock,
1699 perf:task-clock, perf:page-fault, perf:faults,
1700 perf:major-faults, perf:minor-faults,
1701 perf:context-switches, perf:cs,
1702 perf:cpu-migrations, perf:migrations,
1703 perf:alignment-faults, perf:emulation-faults
1705 This command will add the context information 'prio' and two perf
1706 counters (hardware branch misses and cache misses), to all events
1707 in the trace data output:
1708 # lttng add-context -k -t prio -t perf:branch-misses -t perf:cache-misses
1713 lttng add-context -s mysession -c mychannel -k -t prio -t perf:branch-misses -t perf:cache-misses
1719 kernel context perf:cache-misses added to channel mychannel
1720 kernel context perf:branch-misses added to channel mychannel
1721 kernel context prio added to channel mychannel
1725 lttng list mysession
1731 Tracing session mysession: [inactive]
1732 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1734 === Domain: Kernel ===
1738 - mychannel: [enabled]
1742 subbufers size: 16384
1743 number of subbufers: 4
1744 switch timer interval: 100
1745 read timer interval: 200
1749 myevent (type: probe) [enabled]
1752 syscalls (type: syscall) [enabled]
1754 - mychannel2: [enabled]
1758 subbufers size: 32768
1759 number of subbufers: 2
1760 switch timer interval: 100
1761 read timer interval: 200
1765 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1766 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1767 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1769 - channel0: [enabled]
1773 subbufers size: 262144
1774 number of subbufers: 4
1775 switch timer interval: 0
1776 read timer interval: 200
1780 myevent5 (type: probe) [enabled]
1783 myevent4 (type: probe) [enabled]
1786 myevent3 (type: probe) [enabled]
1789 myevent2 (type: probe) [enabled]
1792 myevent1 (type: probe) [enabled]
1794 syscalls (type: syscall) [enabled]
1795 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1796 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1797 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1802 lttng add-context -h
1808 usage: lttng add-context -t TYPE
1810 If no channel and no event is given (-c/-e), the context
1811 will be added to all events and all channels.
1812 Otherwise the context will be added only to the channel (-c)
1813 and/or event (-e) indicated.
1814 Exactly one domain (-k/--kernel or -u/--userspace) must be specified.
1817 -h, --help Show this help
1818 --list-options Simple listing of options
1819 -s, --session NAME Apply to session name
1820 -c, --channel NAME Apply to channel
1821 -e, --event NAME Apply to event
1822 -k, --kernel Apply to the kernel tracer
1823 -u, --userspace Apply to the user-space tracer
1824 -t, --type TYPE Context type. You can repeat that option on
1825 the command line to specify multiple contexts at once.
1826 (--kernel preempts --userspace)
1827 TYPE can be one of the strings below:
1828 pid, procname, prio, nice, vpid, tid, pthread_id,
1829 vtid, ppid, vppid, perf:cpu-cycles, perf:cycles,
1830 perf:stalled-cycles-frontend,
1831 perf:idle-cycles-frontend,
1832 perf:stalled-cycles-backend,
1833 perf:idle-cycles-backend, perf:instructions,
1834 perf:cache-references, perf:cache-misses,
1835 perf:branch-instructions, perf:branches,
1836 perf:branch-misses, perf:bus-cycles,
1837 perf:L1-dcache-loads, perf:L1-dcache-load-misses,
1838 perf:L1-dcache-stores,
1839 perf:L1-dcache-store-misses,
1840 perf:L1-dcache-prefetches,
1841 perf:L1-dcache-prefetch-misses,
1842 perf:L1-icache-loads, perf:L1-icache-load-misses,
1843 perf:L1-icache-stores,
1844 perf:L1-icache-store-misses,
1845 perf:L1-icache-prefetches,
1846 perf:L1-icache-prefetch-misses, perf:LLC-loads,
1847 perf:LLC-load-misses, perf:LLC-stores,
1848 perf:LLC-store-misses, perf:LLC-prefetches,
1849 perf:LLC-prefetch-misses, perf:dTLB-loads,
1850 perf:dTLB-load-misses, perf:dTLB-stores,
1851 perf:dTLB-store-misses, perf:dTLB-prefetches,
1852 perf:dTLB-prefetch-misses, perf:iTLB-loads,
1853 perf:iTLB-load-misses, perf:branch-loads,
1854 perf:branch-load-misses, perf:cpu-clock,
1855 perf:task-clock, perf:page-fault, perf:faults,
1856 perf:major-faults, perf:minor-faults,
1857 perf:context-switches, perf:cs,
1858 perf:cpu-migrations, perf:migrations,
1859 perf:alignment-faults, perf:emulation-faults
1861 This command will add the context information 'prio' and two perf
1862 counters (hardware branch misses and cache misses), to all events
1863 in the trace data output:
1864 # lttng add-context -k -t prio -t perf:branch-misses -t perf:cache-misses
1869 lttng add-context -s mysession -c channel0 -e sched_kthread_stop_ret -k -t prio -t perf:branch-misses -t perf:cache-misses
1875 kernel context perf:cache-misses added to event sched_kthread_stop_ret channel mychannel
1876 kernel context perf:branch-misses added to event sched_kthread_stop_ret channel mychannel
1877 kernel context prio added to channel event sched_kthread_stop_ret mychannel
1881 lttng list mysession
1887 Tracing session mysession: [inactive]
1888 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1890 === Domain: Kernel ===
1894 - mychannel: [enabled]
1898 subbufers size: 16384
1899 number of subbufers: 4
1900 switch timer interval: 100
1901 read timer interval: 200
1905 myevent (type: probe) [enabled]
1908 syscalls (type: syscall) [enabled]
1910 - mychannel2: [enabled]
1914 subbufers size: 32768
1915 number of subbufers: 2
1916 switch timer interval: 100
1917 read timer interval: 200
1921 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1922 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1923 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1925 - channel0: [enabled]
1929 subbufers size: 262144
1930 number of subbufers: 4
1931 switch timer interval: 0
1932 read timer interval: 200
1936 myevent5 (type: probe) [enabled]
1939 myevent4 (type: probe) [enabled]
1942 myevent3 (type: probe) [enabled]
1945 myevent2 (type: probe) [enabled]
1948 myevent1 (type: probe) [enabled]
1950 syscalls (type: syscall) [enabled]
1951 sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1952 sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1953 sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint) [enabled]
1958 lttng calibrate -k --function
1964 Kernel calibration done
1973 lttng enable-channel mychannel -u -s mysession --overwrite --subbuf-size 16384 --num-subbuf 4 --switch-timer 100 --read-timer 200
1979 UST channel mychannel enabled for session mysession
1983 lttng list mysession
1989 Tracing session mysession: [inactive]
1990 Trace path: /home/user/lttng-traces/mysession-20120314-132824
1992 === Domain: UST global ===
1996 - mychannel: [enabled]
2000 subbufers size: 16384
2001 number of subbufers: 4
2002 switch timer interval: 100
2003 read timer interval: 200
2012 lttng enable-channel mychannel2 -u -s mysession --subbuf-size 32768 --num-subbuf 2 --switch-timer 100 --read-timer 200
2018 UST channel mychannel2 enabled for session mysession
2022 lttng list mysession
2028 Tracing session mysession: [inactive]
2029 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2031 === Domain: UST global ===
2035 - mychannel: [enabled]
2039 subbufers size: 16384
2040 number of subbufers: 4
2041 switch timer interval: 100
2042 read timer interval: 200
2048 - mychannel2: [enabled]
2052 subbufers size: 32768
2053 number of subbufers: 2
2054 switch timer interval: 100
2055 read timer interval: 200
2064 lttng enable-event ust_tests_hello:tptest_sighandler -u -s mysession --tracepoint
2070 UST event ust_tests_hello:tptest_sighandler created in channel channel0
2074 lttng list mysession
2080 Tracing session mysession: [inactive]
2081 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2083 === Domain: UST global ===
2087 - mychannel: [enabled]
2091 subbufers size: 16384
2092 number of subbufers: 4
2093 switch timer interval: 100
2094 read timer interval: 200
2100 - mychannel2: [enabled]
2104 subbufers size: 32768
2105 number of subbufers: 2
2106 switch timer interval: 100
2107 read timer interval: 200
2113 - channel0: [enabled]
2117 subbufers size: 262144
2118 number of subbufers: 4
2119 switch timer interval: 0
2120 read timer interval: 200
2124 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2129 lttng enable-event ust_tests_hello:tptest -u -s mysession --tracepoint
2135 UST event ust_tests_hello:tptest created in channel channel0
2139 lttng list mysession
2145 Tracing session mysession: [inactive]
2146 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2148 === Domain: UST global ===
2152 - mychannel: [enabled]
2156 subbufers size: 16384
2157 number of subbufers: 4
2158 switch timer interval: 100
2159 read timer interval: 200
2165 - mychannel2: [enabled]
2169 subbufers size: 32768
2170 number of subbufers: 2
2171 switch timer interval: 100
2172 read timer interval: 200
2178 - channel0: [enabled]
2182 subbufers size: 262144
2183 number of subbufers: 4
2184 switch timer interval: 0
2185 read timer interval: 200
2189 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2190 ust_tests_hello:tptest (type: tracepoint) [enabled]
2195 lttng enable-event -a -u -s mysession -c mychannel2 --tracepoint
2201 All UST events created in channel channel0
2205 lttng list mysession
2211 Tracing session mysession: [inactive]
2212 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2214 === Domain: UST global ===
2218 - mychannel: [enabled]
2222 subbufers size: 16384
2223 number of subbufers: 4
2224 switch timer interval: 100
2225 read timer interval: 200
2231 - mychannel2: [enabled]
2235 subbufers size: 32768
2236 number of subbufers: 2
2237 switch timer interval: 100
2238 read timer interval: 200
2242 * (type: tracepoint) [enabled]
2244 - channel0: [enabled]
2248 subbufers size: 262144
2249 number of subbufers: 4
2250 switch timer interval: 0
2251 read timer interval: 200
2255 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2256 ust_tests_hello:tptest (type: tracepoint) [enabled]
2261 lttng enable-event "ust*" -u -s mysession -c mychannel --tracepoint
2267 UST event ust* created in channel mychannel
2271 lttng list mysession
2277 Tracing session mysession: [inactive]
2278 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2280 === Domain: UST global ===
2284 - mychannel: [enabled]
2288 subbufers size: 16384
2289 number of subbufers: 4
2290 switch timer interval: 100
2291 read timer interval: 200
2295 ust* (type: tracepoint) [enabled]
2297 - mychannel2: [enabled]
2301 subbufers size: 32768
2302 number of subbufers: 2
2303 switch timer interval: 100
2304 read timer interval: 200
2308 * (type: tracepoint) [enabled]
2310 - channel0: [enabled]
2314 subbufers size: 262144
2315 number of subbufers: 4
2316 switch timer interval: 0
2317 read timer interval: 200
2321 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2322 ust_tests_hello:tptest (type: tracepoint) [enabled]
2327 lttng enable-event "ust*" -u -s mysession --tracepoint
2333 UST event ust* created in channel channel0
2337 lttng list mysession
2343 Tracing session mysession: [inactive]
2344 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2346 === Domain: UST global ===
2350 - mychannel: [enabled]
2354 subbufers size: 16384
2355 number of subbufers: 4
2356 switch timer interval: 100
2357 read timer interval: 200
2361 ust* (type: tracepoint) [enabled]
2363 - mychannel2: [enabled]
2367 subbufers size: 32768
2368 number of subbufers: 2
2369 switch timer interval: 100
2370 read timer interval: 200
2374 * (type: tracepoint) [enabled]
2376 - channel0: [enabled]
2380 subbufers size: 262144
2381 number of subbufers: 4
2382 switch timer interval: 0
2383 read timer interval: 200
2387 ust* (type: tracepoint) [enabled]
2388 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2389 ust_tests_hello:tptest (type: tracepoint) [enabled]
2394 lttng enable-event "u*" -u -s mysession --tracepoint
2400 UST event u* created in channel channel0
2404 lttng list mysession
2410 Tracing session mysession: [inactive]
2411 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2413 === Domain: UST global ===
2417 - mychannel: [enabled]
2421 subbufers size: 16384
2422 number of subbufers: 4
2423 switch timer interval: 100
2424 read timer interval: 200
2428 ust* (type: tracepoint) [enabled]
2430 - mychannel2: [enabled]
2434 subbufers size: 32768
2435 number of subbufers: 2
2436 switch timer interval: 100
2437 read timer interval: 200
2441 * (type: tracepoint) [enabled]
2443 - channel0: [enabled]
2447 subbufers size: 262144
2448 number of subbufers: 4
2449 switch timer interval: 0
2450 read timer interval: 200
2454 u* (type: tracepoint) [enabled]
2455 ust* (type: tracepoint) [enabled]
2456 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2457 ust_tests_hello:tptest (type: tracepoint) [enabled]
2463 lttng enable-event myevent1 -u -s mysession --loglevel TRACE_WARNING
2469 UST event myevent1 created in channel channel0
2473 lttng list mysession
2479 Tracing session mysession: [inactive]
2480 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2482 === Domain: UST global ===
2486 - mychannel: [enabled]
2490 subbufers size: 16384
2491 number of subbufers: 4
2492 switch timer interval: 100
2493 read timer interval: 200
2497 ust* (type: tracepoint) [enabled]
2499 - mychannel2: [enabled]
2503 subbufers size: 32768
2504 number of subbufers: 2
2505 switch timer interval: 100
2506 read timer interval: 200
2510 * (type: tracepoint) [enabled]
2512 - channel0: [enabled]
2516 subbufers size: 262144
2517 number of subbufers: 4
2518 switch timer interval: 0
2519 read timer interval: 200
2523 myevent1 (loglevel: TRACE_WARNING (4)) (type: tracepoint) [enabled]
2524 u* (type: tracepoint) [enabled]
2525 ust* (type: tracepoint) [enabled]
2526 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2527 ust_tests_hello:tptest (type: tracepoint) [enabled]
2532 lttng enable-event myevent2 -u -s mysession --loglevel-only TRACE_DEBUG_FUNCTION
2538 UST event myevent2 created in channel channel0
2542 lttng list mysession
2548 Tracing session mysession: [inactive]
2549 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2551 === Domain: UST global ===
2555 - mychannel: [enabled]
2559 subbufers size: 16384
2560 number of subbufers: 4
2561 switch timer interval: 100
2562 read timer interval: 200
2566 ust* (type: tracepoint) [enabled]
2568 - mychannel2: [enabled]
2572 subbufers size: 32768
2573 number of subbufers: 2
2574 switch timer interval: 100
2575 read timer interval: 200
2579 * (type: tracepoint) [enabled]
2581 - channel0: [enabled]
2585 subbufers size: 262144
2586 number of subbufers: 4
2587 switch timer interval: 0
2588 read timer interval: 200
2592 myevent2 (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint) [enabled]
2593 myevent1 (loglevel: TRACE_WARNING (4)) (type: loglevel) [enabled]
2594 u* (type: tracepoint) [enabled]
2595 ust* (type: tracepoint) [enabled]
2596 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2597 ust_tests_hello:tptest (type: tracepoint) [enabled]
2602 lttng enable-event myevent0 -u -s mysession -c mychannel --loglevel-only TRACE_DEBUG_FUNCTION
2608 UST event myevent0 created in channel mychannel
2612 lttng list mysession
2618 Tracing session mysession: [inactive]
2619 Trace path: /home/user/lttng-traces/mysession-20120314-132824
2621 === Domain: UST global ===
2625 - mychannel: [enabled]
2629 subbufers size: 16384
2630 number of subbufers: 4
2631 switch timer interval: 100
2632 read timer interval: 200
2636 myevent0 (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint) [enabled]
2637 ust* (type: tracepoint) [enabled]
2639 - mychannel2: [enabled]
2643 subbufers size: 32768
2644 number of subbufers: 2
2645 switch timer interval: 100
2646 read timer interval: 200
2650 * (type: tracepoint) [enabled]
2652 - channel0: [enabled]
2656 subbufers size: 262144
2657 number of subbufers: 4
2658 switch timer interval: 0
2659 read timer interval: 200
2663 myevent2 (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint) [enabled]
2664 myevent1 (loglevel: TRACE_WARNING (4)) (type: loglevel) [enabled]
2665 u* (type: tracepoint) [enabled]
2666 ust* (type: tracepoint) [enabled]
2667 ust_tests_hello:tptest_sighandler (type: tracepoint) [enabled]
2668 ust_tests_hello:tptest (type: tracepoint) [enabled]