Project

General

Profile

Bug #403 » StopTestApp_HaveToEnableChanTwice_noVVV.log

Terminal log (with out sessiond -vvv) - Tan le tran, 11/22/2012 05:53 PM

 
[SC-1:Wed Nov 21 18:36:06/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Wed Nov 21 18:36:12/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng create s1
sleep 1
lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
Session s1 created.
Traces will be written in /root/lttng-traces/s1-20121121-183612
[SC-1:Wed Nov 21 18:36:12/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
sleep 1
lttng start
sleep 1
pkill -STOP TestApp
date; lttng create s2
for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-channel channel0 -s s2 -u; date +%T.%N; sleep 1); done
for a in $(seq 1 5); do (echo " "; echo "lttng enable-event -s s2 dummyevent -u"; date +%T.%N; time lttng enable-event -s s2 dummyevent -u; sleep 1); done
[SC-1:Wed Nov 21 18:36:13/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
UST event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB created in channel channel0
[SC-1:Wed Nov 21 18:36:13/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Wed Nov 21 18:36:14/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng start
Tracing started for session s1
[SC-1:Wed Nov 21 18:36:14/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Wed Nov 21 18:36:15/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # pkill -STOP TestApp

[1]+ Stopped /home/test_apps/TestApp_type1 44444 np
[SC-1:Wed Nov 21 18:36:15/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # date; lttng create s2
Wed Nov 21 18:36:15 EST 2012
Session s2 created.
Traces will be written in /root/lttng-traces/s2-20121121-183615
annel channel0 -s s2 -u; date +%T.%N; sleep 1); done_NoHealthCheck] # for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-ch

lttng enable-channel channel0 -s s2 -u
18:36:15.519971647
Error: Channel channel0: UST create channel failed (session s2)
Warning: Some command(s) went wrong

real 0m5.001s
user 0m0.000s
sys 0m0.000s
18:36:20.522770578

lttng enable-channel channel0 -s s2 -u
18:36:21.526242740
UST channel channel0 enabled for session s2

real 0m0.002s
user 0m0.000s
sys 0m0.000s
18:36:21.529371059
ent -s s2 dummyevent -u; sleep 1); doneSDPs/EA_Nov15_NoHealthCheck] # for a in $(seq 1 5); do (echo " "; echo "lttng enable-event -s s2 dummyevent -u"; date +%T.%N; time lttng enable-ev

lttng enable-event -s s2 dummyevent -u
18:36:22.536491615
UST event dummyevent created in channel channel0

real 0m0.002s
user 0m0.000s
sys 0m0.000s

lttng enable-event -s s2 dummyevent -u
18:36:23.541503793
UST event dummyevent created in channel channel0

real 0m0.001s
user 0m0.000s
sys 0m0.000s

lttng enable-event -s s2 dummyevent -u
18:36:24.546431154
UST event dummyevent created in channel channel0

real 0m0.002s
user 0m0.000s
sys 0m0.000s

lttng enable-event -s s2 dummyevent -u
18:36:25.551994729
UST event dummyevent created in channel channel0

real 0m0.002s
user 0m0.000s
sys 0m0.000s

lttng enable-event -s s2 dummyevent -u
18:36:26.557613552
UST event dummyevent created in channel channel0

real 0m0.002s
user 0m0.000s
sys 0m0.000s
[SC-1:Wed Nov 21 18:36:27/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # pkill -CONT TestApp
libust[22720/22721]: Error: Error handling message for global socket (in ust_listener_thread() at lttng-ust-comm.c:904)
[SC-1:Wed Nov 21 18:36:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng list
Available tracing sessions:
1) s2 (/root/lttng-traces/s2-20121121-183615) [inactive]
2) s1 (/root/lttng-traces/s1-20121121-183612) [active]

Use lttng list <session_name> for more details
[SC-1:Wed Nov 21 18:36:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng destroy s1
Session s1 destroyed
[SC-1:Wed Nov 21 18:36:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng destroy s2
Session s2 destroyed
[SC-1:Wed Nov 21 18:36:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng list
Currently no available tracing session
[SC-1:Wed Nov 21 18:36:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # jobs
[1]+ Running /home/test_apps/TestApp_type1 44444 np &
[SC-1:Wed Nov 21 18:36:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # 06:22:34end of program

[1]+ Done /home/test_apps/TestApp_type1 44444 np
[SC-1:Thu Nov 22 09:27:29/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng list
Currently no available tracing session
[SC-1:Thu Nov 22 09:35:52/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:35:53/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:35:53/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:35:53/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:35:53/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # checkps
20711 ? 00:00:11 TraceEa
20723 ? 00:00:00 TraceEa
21311 ? 00:00:00 lttng-sessiond
21367 ? 00:00:00 lttng-consumerd
[SC-1:Thu Nov 22 09:35:56/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:35:57/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng create s1
sleep 1
Session s1 created.
Traces will be written in /root/lttng-traces/s1-20121122-094435
[SC-1:Thu Nov 22 09:44:35/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
sleep 1
lttng start
sleep 1
pkill -STOP TestApp
#----- insert a delay of 6 sec here and see whether the enabling channel is successful !!! nov-22

sleep 10
date; lttng create s2
for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-channel channel0 -s s2 -u; date +%T.%N; sleep 1); done
for a in $(seq 1 5); do (echo " "; echo "lttng enable-event -s s2 dummyevent -u"; date +%T.%N; time lttng enable-event -s s2 dummyevent -u; sleep 1); done
[SC-1:Thu Nov 22 09:44:36/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
UST event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB created in channel channel0
[SC-1:Thu Nov 22 09:44:36/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Thu Nov 22 09:44:37/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng start
Tracing started for session s1
[SC-1:Thu Nov 22 09:44:37/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Thu Nov 22 09:44:38/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # pkill -STOP TestApp
[SC-1:Thu Nov 22 09:44:38/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # #----- insert a delay of 6 sec here and see whether the enabling channel is successful !!! nov-22
[SC-1:Thu Nov 22 09:44:38/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:44:38/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 10
[SC-1:Thu Nov 22 09:44:48/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # date; lttng create s2
Thu Nov 22 09:44:48 EST 2012
Session s2 created.
Traces will be written in /root/lttng-traces/s2-20121122-094448
annel channel0 -s s2 -u; date +%T.%N; sleep 1); done_NoHealthCheck] # for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-ch

lttng enable-channel channel0 -s s2 -u
09:44:48.157543657
UST channel channel0 enabled for session s2

real 0m0.002s
user 0m0.000s
sys 0m0.000s
09:44:48.160598276

lttng enable-channel channel0 -s s2 -u
09:44:49.164072416
Warning: Channel channel0: UST channel already exist (session s2

real 0m0.002s
user 0m0.000s
sys 0m0.000s
09:44:49.167362850
ent -s s2 dummyevent -u; sleep 1); doneSDPs/EA_Nov15_NoHealthCheck] # for a in $(seq 1 5); do (echo " "; echo "lttng enable-event -s s2 dummyevent -u"; date +%T.%N; time lttng enable-ev

lttng enable-event -s s2 dummyevent -u
09:44:50.173333852
UST event dummyevent created in channel channel0

real 0m0.002s
user 0m0.000s
sys 0m0.000s

lttng enable-event -s s2 dummyevent -u
09:44:51.179088431
UST event dummyevent created in channel channel0

real 0m0.002s
user 0m0.000s
sys 0m0.000s

lttng enable-event -s s2 dummyevent -u
09:44:52.185199956
UST event dummyevent created in channel channel0

real 0m0.002s
user 0m0.000s
sys 0m0.000s

lttng enable-event -s s2 dummyevent -u
09:44:53.190821303
UST event dummyevent created in channel channel0

real 0m0.002s
user 0m0.000s
sys 0m0.000s

lttng enable-event -s s2 dummyevent -u
09:44:54.197174356
UST event dummyevent created in channel channel0

real 0m0.002s
user 0m0.000s
sys 0m0.000s
[SC-1:Thu Nov 22 09:44:55/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # pkill -CONT TestApp
[SC-1:Thu Nov 22 09:45:01/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng list
Available tracing sessions:
1) s2 (/root/lttng-traces/s2-20121122-094448) [inactive]
2) s1 (/root/lttng-traces/s1-20121122-094435) [active]

Use lttng list <session_name> for more details
[SC-1:Thu Nov 22 09:45:01/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng destroy s1
Session s1 destroyed
[SC-1:Thu Nov 22 09:45:01/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng destroy s2
Session s2 destroyed
[SC-1:Thu Nov 22 09:45:01/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng list
Currently no available tracing session
[SC-1:Thu Nov 22 09:45:01/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # jobs
[SC-1:Thu Nov 22 09:45:01/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # jobs
[SC-1:Thu Nov 22 09:45:08/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # checkps
20711 ? 00:00:11 TraceEa
20723 ? 00:00:00 TraceEa
21311 ? 00:00:00 lttng-sessiond
21367 ? 00:00:00 lttng-consumerd
[SC-1:Thu Nov 22 09:45:13/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:32/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:32/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:32/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:33/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # /home/test_apps/TestApp_type1 444444 np &
[1] 13744
[SC-1:Thu Nov 22 09:45:50/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:50/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # checkps
13744 pts/1 00:00:00 TestApp_type1
20711 ? 00:00:11 TraceEa
20723 ? 00:00:00 TraceEa
21311 ? 00:00:00 lttng-sessiond
21367 ? 00:00:00 lttng-consumerd
[SC-1:Thu Nov 22 09:45:53/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:45:53/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng create s1
Session s1 created.
Traces will be written in /root/lttng-traces/s1-20121122-094603
lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
[SC-1:Thu Nov 22 09:46:03/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
sleep 1
lttng start
sleep 1
pkill -STOP TestApp
#----- insert a delay of 6 sec here and see whether the enabling channel is successful !!! nov-22

sleep 10
date; lttng create s2
for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-channel channel0 -s s2 -u; date +%T.%N; sleep 1); done
[SC-1:Thu Nov 22 09:46:04/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
UST event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB created in channel channel0
[SC-1:Thu Nov 22 09:46:04/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Thu Nov 22 09:46:05/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng start
Tracing started for session s1
[SC-1:Thu Nov 22 09:46:05/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Thu Nov 22 09:46:06/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # pkill -STOP TestApp

[1]+ Stopped /home/test_apps/TestApp_type1 444444 np
[SC-1:Thu Nov 22 09:46:06/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # #----- insert a delay of 6 sec here and see whether the enabling channel is successful !!! nov-22
[SC-1:Thu Nov 22 09:46:06/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:46:06/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 10
[SC-1:Thu Nov 22 09:46:16/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # date; lttng create s2
Thu Nov 22 09:46:16 EST 2012
Session s2 created.
Traces will be written in /root/lttng-traces/s2-20121122-094616
annel channel0 -s s2 -u; date +%T.%N; sleep 1); done_NoHealthCheck] # for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-ch

lttng enable-channel channel0 -s s2 -u
09:46:16.282719067
Error: Channel channel0: UST create channel failed (session s2)
Warning: Some command(s) went wrong

real 0m5.002s
user 0m0.000s
sys 0m0.000s
09:46:21.286556121

lttng enable-channel channel0 -s s2 -u
09:46:22.290351292
UST channel channel0 enabled for session s2

real 0m0.002s
user 0m0.000s
sys 0m0.000s
09:46:22.293677776
[SC-1:Thu Nov 22 09:46:23/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # pkill -CONT TestApp
libust[13744/13745]: Error: Error handling message for global socket (in ust_listener_thread() at lttng-ust-comm.c:904)
[SC-1:Thu Nov 22 09:46:40/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng list
Available tracing sessions:
1) s2 (/root/lttng-traces/s2-20121122-094616) [inactive]
2) s1 (/root/lttng-traces/s1-20121122-094603) [active]

Use lttng list <session_name> for more details
[SC-1:Thu Nov 22 09:46:40/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng destroy s1
Session s1 destroyed
[SC-1:Thu Nov 22 09:46:40/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng destroy s2
Session s2 destroyed
[SC-1:Thu Nov 22 09:46:40/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng list
Currently no available tracing session
[SC-1:Thu Nov 22 09:46:40/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # jobs
[1]+ Running /home/test_apps/TestApp_type1 444444 np &
[SC-1:Thu Nov 22 09:46:40/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:46:43/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:46:44/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:46:44/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:46:45/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:46:45/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:46:46/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:46:46/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:47:11/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:47:12/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:47:12/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:47:12/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng create s1
Session s1 created.sleep 1

Traces will be written in /root/lttng-traces/s1-20121122-094713
[SC-1:Thu Nov 22 09:47:13/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
sleep 1
lttng start
sleep 1
pkill -STOP TestApp
#----- insert a delay of 20 sec here and see whether the enabling channel is successful !!! nov-22

sleep 20
date; lttng create s2
for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-channel channel0 -s s2 -u; date +%T.%N; sleep 1); done
[SC-1:Thu Nov 22 09:47:14/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
UST event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB created in channel channel0
[SC-1:Thu Nov 22 09:47:14/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Thu Nov 22 09:47:15/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng start
Tracing started for session s1
[SC-1:Thu Nov 22 09:47:15/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Thu Nov 22 09:47:16/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # pkill -STOP TestApp

[1]+ Stopped /home/test_apps/TestApp_type1 444444 np
[SC-1:Thu Nov 22 09:47:16/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # #----- insert a delay of 20 sec here and see whether the enabling channel is successful !!! nov-22
[SC-1:Thu Nov 22 09:47:16/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:47:16/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 20
[SC-1:Thu Nov 22 09:47:36/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # date; lttng create s2
Thu Nov 22 09:47:36 EST 2012
Session s2 created.
Traces will be written in /root/lttng-traces/s2-20121122-094736
annel channel0 -s s2 -u; date +%T.%N; sleep 1); done_NoHealthCheck] # for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-ch

lttng enable-channel channel0 -s s2 -u
09:47:36.343912546
Error: Channel channel0: UST create channel failed (session s2)
Warning: Some command(s) went wrong

real 0m5.001s
user 0m0.000s
sys 0m0.000s
09:47:41.346619540

lttng enable-channel channel0 -s s2 -u
09:47:42.350523178
UST channel channel0 enabled for session s2

real 0m0.002s
user 0m0.000s
sys 0m0.000s
09:47:42.353975049
[SC-1:Thu Nov 22 09:47:43/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # pkill -CONT TestApp
libust[13744/13745]: Error: Error handling message for global socket (in ust_listener_thread() at lttng-ust-comm.c:904)
[SC-1:Thu Nov 22 09:48:50/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng list
Available tracing sessions:
1) s2 (/root/lttng-traces/s2-20121122-094736) [inactive]
2) s1 (/root/lttng-traces/s1-20121122-094713) [active]

Use lttng list <session_name> for more details
[SC-1:Thu Nov 22 09:48:50/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng destroy s1
Session s1 destroyed
[SC-1:Thu Nov 22 09:48:50/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng destroy s2
Session s2 destroyed
[SC-1:Thu Nov 22 09:48:50/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng list
Currently no available tracing session
[SC-1:Thu Nov 22 09:48:50/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # jobs
[1]+ Running /home/test_apps/TestApp_type1 444444 np &
[SC-1:Thu Nov 22 09:48:50/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:48:51/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:48:52/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:48:52/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:48:52/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:48:52/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:48:52/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:48:52/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:48:53/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:48:53/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng create s1
lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
Session s1 created.
Traces will be written in /root/lttng-traces/s1-20121122-094902
sleep 1
[SC-1:Thu Nov 22 09:49:02/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
lttng start
sleep 1
pkill -STOP TestApp
#----- insert a delay of 60 sec here and see whether the enabling channel is successful !!! nov-22

sleep 60
date; lttng create s2
for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-channel channel0 -s s2 -u; date +%T.%N; sleep 1); done
[SC-1:Thu Nov 22 09:49:03/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng enable-event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB -u
UST event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB created in channel channel0
[SC-1:Thu Nov 22 09:49:03/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Thu Nov 22 09:49:04/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # lttng start
Tracing started for session s1
[SC-1:Thu Nov 22 09:49:04/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 1
[SC-1:Thu Nov 22 09:49:05/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # pkill -STOP TestApp

[1]+ Stopped /home/test_apps/TestApp_type1 444444 np
[SC-1:Thu Nov 22 09:49:05/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # #----- insert a delay of 60 sec here and see whether the enabling channel is successful !!! nov-22
[SC-1:Thu Nov 22 09:49:05/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
[SC-1:Thu Nov 22 09:49:05/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # sleep 60
[SC-1:Thu Nov 22 09:50:05/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] # date; lttng create s2
Thu Nov 22 09:50:05 EST 2012
Session s2 created.
Traces will be written in /root/lttng-traces/s2-20121122-095005
annel channel0 -s s2 -u; date +%T.%N; sleep 1); done_NoHealthCheck] # for a in $(seq 1 2); do (echo " "; echo "lttng enable-channel channel0 -s s2 -u"; date +%T.%N; time lttng enable-ch

lttng enable-channel channel0 -s s2 -u
09:50:05.355004128
Error: Channel channel0: UST create channel failed (session s2)
Warning: Some command(s) went wrong

real 0m5.002s
user 0m0.000s
sys 0m0.000s
09:50:10.358788796

lttng enable-channel channel0 -s s2 -u
09:50:11.363549461
UST channel channel0 enabled for session s2

real 0m0.002s
user 0m0.000s
sys 0m0.000s
09:50:11.367151287
[SC-1:Thu Nov 22 09:50:12/cluster/temp/SDPs/EA_Nov15_NoHealthCheck] #
(1-1/3)