Project

General

Profile

Bug #329 ยป filter_on_string_demo_goes_SegFault.txt

Tan le tran, 09/03/2012 02:42 PM

 
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # ps -ef |egrep "demo|ltt"
root 13726 6486 0 10:35 pts/2 00:00:00 lttng-sessiond -vvv
root 13866 13726 0 10:37 pts/2 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
root 14372 6486 0 10:45 pts/2 00:00:00 egrep demo|ltt
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng list
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 13 [in process_client_msg() at main.c:1998]
DEBUG1: Counting number of available session for UID 0 GID 0 [in lttng_sessions_count() at main.c:1969]
DEBUG1: Getting all available session for UID 0 GID 0 [in cmd_list_lttng_sessions() at cmd.c:2016]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Currently no available tracing session
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng create TC4 -o /cluster/temp/sessiondir/TC4_c
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 8 [in process_client_msg() at main.c:1998]
DEBUG1: Waiting for 1 URIs from client ... [in process_client_msg() at main.c:2501]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG1: Tracing session TC4 created in (null) with ID 11 by UID 0 GID 0 [in session_create() at session.c:236]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Created hashtable size 4 at 0x65a980 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Setting trace directory path from URI to /cluster/temp/sessiondir/TC4_c [in add_uri_to_consumer() at cmd.c:396]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Session TC4 created.
Traces will be written in /cluster/temp/sessiondir/TC4_c
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng enable-event ust_tests_demo2:loop -u --filter "stringfield=='text'"
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 6 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG1: Creating UST session [in create_ust_session() at main.c:1885]
DEBUG3: Created hashtable size 4 at 0x64c6c0 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: Created hashtable size 4 at 0x641500 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: Created hashtable size 4 at 0x6417c0 of type 0 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: Created hashtable size 4 at 0x65ede0 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: UST trace session create successful [in trace_ust_create_session() at trace-ust.c:143]
DEBUG3: Copying tracing session consumer output in UST session [in copy_session_consumer() at main.c:1840]
DEBUG3: Created hashtable size 4 at 0x65f080 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: Created hashtable size 4 at 0x65f340 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: Copy session consumer subdir /ust [in copy_session_consumer() at main.c:1855]
DEBUG3: Consumer socket created (fd: 23) and added to output [in consumer_create_socket() at consumer.c:141]
DEBUG2: Trace UST channel channel0 not found by name [in trace_ust_find_channel_by_name() at trace-ust.c:52]
DEBUG1: Enabling channel channel0 for session TC4 [in cmd_enable_channel() at cmd.c:744]
DEBUG2: Trace UST channel channel0 not found by name [in trace_ust_find_channel_by_name() at trace-ust.c:52]
DEBUG3: Created hashtable size 4 at 0x65f8a0 of type 0 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: Created hashtable size 4 at 0x64fd50 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Trace UST channel channel0 created [in trace_ust_create_channel() at trace-ust.c:205]
DEBUG2: Channel channel0 being created in UST global domain [in channel_ust_create() at channel.c:267]
DEBUG2: UST app adding channel channel0 to global domain for session id 11 [in ust_app_create_channel_glb() at ust-app.c:1984]
DEBUG2: Channel channel0 created successfully [in channel_ust_create() at channel.c:292]
DEBUG2: Trace UST channel channel0 found by name [in trace_ust_find_channel_by_name() at trace-ust.c:47]
DEBUG2: Trace UST event NOT found by name ust_tests_demo2:loop [in trace_ust_find_event_by_name() at trace-ust.c:79]
DEBUG3: Created hashtable size 4 at 0x6596a0 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Trace UST event ust_tests_demo2:loop, loglevel (0,-1) created [in trace_ust_create_event() at trace-ust.c:284]
DEBUG1: UST app creating event ust_tests_demo2:loop for all apps for session id 11 [in ust_app_create_event_glb() at ust-app.c:2108]
DEBUG1: Event UST ust_tests_demo2:loop created in channel channel0 [in event_ust_enable_tracepoint() at event.c:486]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
UST event ust_tests_demo2:loop created in channel channel0
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 29 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Consumer socket created (fd: 23) and added to output [in consumer_create_socket() at consumer.c:141]
DEBUG1: Receiving var len data from client ... [in process_client_msg() at main.c:2672]
DEBUG2: Trace UST channel channel0 found by name [in trace_ust_find_channel_by_name() at trace-ust.c:47]
DEBUG2: Trace UST event found by name ust_tests_demo2:loop [in trace_ust_find_event_by_name() at trace-ust.c:74]
DEBUG1: Filter UST added to event ust_tests_demo2:loop [in add_ufilter_to_event() at filter.c:63]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # ps -ef |egrep "demo|ltt"
root 13726 6486 0 10:35 pts/2 00:00:00 lttng-sessiond -vvv
root 13866 13726 0 10:37 pts/2 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
root 14405 6486 0 10:45 pts/2 00:00:00 egrep demo|ltt
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 8 [in process_client_msg() at main.c:1998]
DEBUG1: Waiting for 1 URIs from client ... [in process_client_msg() at main.c:2501]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG1: Tracing session _Trace_EA created in (null) with ID 12 by UID 0 GID 0 [in session_create() at session.c:236]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: Created hashtable size 4 at 0x65c210 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Setting trace directory path from URI to /tmp/ [in add_uri_to_consumer() at cmd.c:396]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 9 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session _Trace_EA by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: No kernel session when tearing down session [in kernel_destroy_session() at kernel.c:729]
DEBUG1: Destroying session _Trace_EA [in session_destroy() at session.c:149]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Updating kernel poll set [in update_kernel_poll() at main.c:546]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Thread kernel polling on 2 fds [in thread_manage_kernel() at main.c:714]

[2] 14424
SC-1:/cluster/temp/instr_apps # DEBUG1: UST registration received with pid:14425 ppid:14424 uid:0 gid:0 sock:19 name:demo (version 2.0) [in thread_registration_apps() at main.c:1390]
DEBUG1: Futex n to 1 wake done [in futex_nto1_wake() at futex.c:104]
DEBUG1: Accepting application registration [in thread_registration_apps() at main.c:1296]
DEBUG1: Futex n to 1 wait done [in futex_nto1_wait() at futex.c:90]
DEBUG1: Futex n to 1 prepare done [in futex_nto1_prepare() at futex.c:75]
DEBUG1: Dispatching UST registration pid:14425 ppid:14424 uid:0 gid:0 sock:19 name:demo (version 2.0) [in thread_dispatch_ust_registration() at main.c:1219]
DEBUG1: Woken up but nothing in the UST command queue [in thread_dispatch_ust_registration() at main.c:1207]
DEBUG3: Created hashtable size 4 at 0x659940 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG1: App registered with pid:14425 ppid:14424 uid:0 gid:0 sock:19 name:demo (version 2.0) [in ust_app_register() at ust-app.c:1474]
DEBUG2: UST app PID 14425 is compatible with internal major version 3 (supporting == 3) [in ust_app_validate_version() at ust-app.c:2932]
DEBUG2: UST app global update for app sock 19 for session id 11 [in ust_app_global_update() at ust-app.c:2538]
DEBUG2: UST app pid: 14425 session id 11 not found, creating it [in create_ust_app_session() at ust-app.c:964]
DEBUG3: Created hashtable size 4 at 0x659be0 of type 0 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Shadow copy of session handle -1 [in shadow_copy_session() at ust-app.c:873]
DEBUG2: Channel channel0 not found on shadow session copy, creating it [in shadow_copy_session() at ust-app.c:902]
DEBUG3: Created hashtable size 4 at 0x65a150 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: Created hashtable size 4 at 0x65a410 of type 0 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: UST app channel channel0 allocated [in alloc_ust_app_channel() at ust-app.c:301]
DEBUG2: UST app shadow copy of channel channel0 started [in shadow_copy_channel() at ust-app.c:813]
DEBUG2: UST event ust_tests_demo2:loop not found on shadow copy channel [in shadow_copy_channel() at ust-app.c:840]
DEBUG3: Created hashtable size 4 at 0x65c400 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: UST app event ust_tests_demo2:loop allocated [in alloc_ust_app_event() at ust-app.c:336]
DEBUG3: UST app shadow copy of channel channel0 done [in shadow_copy_channel() at ust-app.c:850]
DEBUG2: UST app session created successfully with handle 1 [in create_ust_app_session() at ust-app.c:990]
DEBUG2: UST app channel channel0 created successfully for pid:14425 and sock:19 [in create_ust_channel() at ust-app.c:682]
DEBUG2: UST app event ust_tests_demo2:loop created successfully for pid:14425 [in create_ust_event() at ust-app.c:726]
DEBUG2: UST filter set successfully for event ust_tests_demo2:loop [in set_ust_event_filter() at ust-app.c:464]
DEBUG1: Apps with sock 19 added to poll set [in thread_manage_apps() at main.c:1143]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
Demo program starting.

SC-1:/cluster/temp/instr_apps # pkill demo
[2]+ Terminated ./demo-trace 50
SC-1:/cluster/temp/instr_apps # DEBUG1: PID 14425 unregistering with sock 19 [in ust_app_unregister() at ust-app.c:1504]
DEBUG1: Apps thread polling on 2 fds [in thread_manage_apps() at main.c:1052]
DEBUG3: Call RCU deleting app PID 14425 [in delete_ust_app_rcu() at ust-app.c:240]
DEBUG2: UST app pid 14425 deleted [in delete_ust_app() at ust-app.c:223]

SC-1:/cluster/temp/instr_apps # ps -ef |egrep "demo|ltt"
root 13726 6486 0 10:35 pts/2 00:00:00 lttng-sessiond -vvv
root 13866 13726 0 10:37 pts/2 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
root 14446 6486 0 10:46 pts/2 00:00:00 egrep demo|ltt
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 8 [in process_client_msg() at main.c:1998]
DEBUG1: Waiting for 1 URIs from client ... [in process_client_msg() at main.c:2501]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG1: Tracing session _Trace_EA created in (null) with ID 13 by UID 0 GID 0 [in session_create() at session.c:236]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: Created hashtable size 4 at 0x65c170 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Setting trace directory path from URI to /tmp/ [in add_uri_to_consumer() at cmd.c:396]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 9 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session _Trace_EA by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: No kernel session when tearing down session [in kernel_destroy_session() at kernel.c:729]
DEBUG1: Destroying session _Trace_EA [in session_destroy() at session.c:149]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Updating kernel poll set [in update_kernel_poll() at main.c:546]
DEBUG1: Thread kernel polling on 2 fds [in thread_manage_kernel() at main.c:714]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]

SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # LTTNG_UST_DEBUG=1 ./demo-trace 50 &
[2] 14503
SC-1:/cluster/temp/instr_apps # liblttng_ust_tracepoint[14504/14504]: just registered a tracepoints section from 0x7fb0eb448cb8 and having 1 tracepoints (in tracepoint_register_lib() at tracepoint.c:641)
liblttng_ust_tracepoint[14504/14504]: registered tracepoint: lttng_ust:metadata (in tracepoint_register_lib() at tracepoint.c:646)
libust[14504/14504]: just registered probe lttng_ust containing 1 events (in ltt_probe_register() at ltt-probes.c:109)
libust[14504/14504]: Registered event probe "lttng_ust:metadata" with signature "const char *, str" (in ltt_probe_register() at ltt-probes.c:118)
libust[14504/14504]: LTT : ltt ring buffer client init
(in ltt_ring_buffer_metadata_client_init() at ltt-ring-buffer-metadata-client.h:334)
libust[14504/14504]: LTT : ltt ring buffer client init
(in ltt_ring_buffer_client_overwrite_init() at ltt-ring-buffer-client.h:585)
libust[14504/14504]: LTT : ltt ring buffer client init
(in ltt_ring_buffer_client_discard_init() at ltt-ring-buffer-client.h:585)
DEBUG1: UST registration received with pid:14504 ppid:14503 uid:0 gid:0 sock:19 name:demo (version 2.0) [in thread_registration_apps() at main.c:1390]
DEBUG1: Futex n to 1 wake done [in futex_nto1_wake() at futex.c:104]
DEBUG1: Accepting application registration [in thread_registration_apps() at main.c:1296]
DEBUG1: Futex n to 1 wait done [in futex_nto1_wait() at futex.c:90]
DEBUG1: Futex n to 1 prepare done [in futex_nto1_prepare() at futex.c:75]
DEBUG1: Dispatching UST registration pid:14504 ppid:14503 uid:0 gid:0 sock:19 name:demo (version 2.0) [in thread_dispatch_ust_registration() at main.c:1219]
DEBUG1: Woken up but nothing in the UST command queue [in thread_dispatch_ust_registration() at main.c:1207]
DEBUG3: Created hashtable size 4 at 0x659940 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG1: App registered with pid:14504 ppid:14503 uid:0 gid:0 sock:19 name:demo (version 2.0) [in ust_app_register() at ust-app.c:1474]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14506]: Info: sessiond not accepting connections to local apps socket (in ust_listener_thread() at lttng-ust-comm.c:789)
libust[14504/14506]: Waiting for local apps sessiond (in wait_for_sessiond() at lttng-ust-comm.c:711)
DEBUG2: UST app PID 14504 is compatible with internal major version 3 (supporting == 3) [in ust_app_validate_version() at ust-app.c:2932]
DEBUG2: UST app global update for app sock 19 for session id 11 [in ust_app_global_update() at ust-app.c:2538]
DEBUG2: UST app pid: 14504 session id 11 not found, creating it [in create_ust_app_session() at ust-app.c:964]
DEBUG3: Created hashtable size 4 at 0x659be0 of type 0 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Shadow copy of session handle -1 [in shadow_copy_session() at ust-app.c:873]
DEBUG2: Channel channel0 not found on shadow session copy, creating it [in shadow_copy_session() at ust-app.c:902]
DEBUG3: Created hashtable size 4 at 0x65a150 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: Created hashtable size 4 at 0x65a410 of type 0 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: UST app channel channel0 allocated [in alloc_ust_app_channel() at ust-app.c:301]
DEBUG2: UST app shadow copy of channel channel0 started [in shadow_copy_channel() at ust-app.c:813]
DEBUG2: UST event ust_tests_demo2:loop not found on shadow copy channel [in shadow_copy_channel() at ust-app.c:840]
DEBUG3: Created hashtable size 4 at 0x65c400 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG3: UST app event ust_tests_demo2:loop allocated [in alloc_ust_app_event() at ust-app.c:336]
DEBUG3: UST app shadow copy of channel channel0 done [in shadow_copy_channel() at ust-app.c:850]
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
DEBUG2: UST app session created successfully with handle 1 [in create_ust_app_session() at ust-app.c:990]
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG2: UST app channel channel0 created successfully for pid:14504 and sock:19 [in create_ust_channel() at ust-app.c:682]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
DEBUG2: UST app event ust_tests_demo2:loop created successfully for pid:14504 [in create_ust_event() at ust-app.c:726]
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: filter data received
(in handle_message() at lttng-ust-comm.c:320)
DEBUG2: UST filter set successfully for event ust_tests_demo2:loop [in set_ust_event_filter() at ust-app.c:464]
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
DEBUG1: Apps with sock 19 added to poll set [in thread_manage_apps() at main.c:1143]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14504]: just registered probe ust_tests_demo3 containing 1 events (in ltt_probe_register() at ltt-probes.c:109)
libust[14504/14504]: Registered event probe "ust_tests_demo3:done" with signature "int, value" (in ltt_probe_register() at ltt-probes.c:118)
libust[14504/14504]: just registered probe ust_tests_demo2 containing 1 events (in ltt_probe_register() at ltt-probes.c:109)
libust[14504/14504]: Registered event probe "ust_tests_demo2:loop" with signature "int, anint, int, netint, long *, values, char *, text, size_t, textlen, double, doublearg, float, floatarg" (in ltt_probe_register() at ltt-probes.c:118)
liblttng_ust_tracepoint[14504/14504]: Registering probe to tracepoint ust_tests_demo2:loop (in __tracepoint_probe_register() at tracepoint.c:427)
libust[14504/14504]: just registered probe ust_tests_demo containing 2 events (in ltt_probe_register() at ltt-probes.c:109)
libust[14504/14504]: Registered event probe "ust_tests_demo:starting" with signature "int, value" (in ltt_probe_register() at ltt-probes.c:118)
libust[14504/14504]: Registered event probe "ust_tests_demo:done" with signature "int, value" (in ltt_probe_register() at ltt-probes.c:118)
liblttng_ust_tracepoint[14504/14504]: just registered a tracepoints section from 0x602158 and having 4 tracepoints (in tracepoint_register_lib() at tracepoint.c:641)
liblttng_ust_tracepoint[14504/14504]: registered tracepoint: ust_tests_demo3:done (in tracepoint_register_lib() at tracepoint.c:646)
liblttng_ust_tracepoint[14504/14504]: registered tracepoint: ust_tests_demo2:loop (in tracepoint_register_lib() at tracepoint.c:646)
liblttng_ust_tracepoint[14504/14504]: registered tracepoint: ust_tests_demo:done (in tracepoint_register_lib() at tracepoint.c:646)
liblttng_ust_tracepoint[14504/14504]: registered tracepoint: ust_tests_demo:starting (in tracepoint_register_lib() at tracepoint.c:646)
Demo program starting.

SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng list -u
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 14 [in process_client_msg() at main.c:1998]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG2: UST app list events done (4 events) [in ust_app_list_events() at ust-app.c:1604]
DEBUG1: Sending response (size: 2352, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
UST events:
-------------

PID: 14504 - Name: ./demo
ust_tests_demo2:loop (loglevel: TRACE_WARNING (4)) (type: tracepoint)
ust_tests_demo:done (loglevel: TRACE_CRIT (2)) (type: tracepoint)
ust_tests_demo:starting (loglevel: TRACE_CRIT (2)) (type: tracepoint)
ust_tests_demo3:done (loglevel: TRACE_WARNING (4)) (type: tracepoint)

SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng list -u -f
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 18 [in process_client_msg() at main.c:1998]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG2: UST app list event fields done (15 events) [in ust_app_list_event_fields() at ust-app.c:1683]
DEBUG1: Sending response (size: 17056, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
UST events:
-------------

PID: 14504 - Name: ./demo
ust_tests_demo2:loop (loglevel: TRACE_WARNING (4)) (type: tracepoint)
field: doublefield (float)
field: floatfield (float)
field: stringfield (string)
field: seqfield2 (string)
field: seqfield1 (unknown)
field: arrfield2 (string)
field: arrfield1 (unknown)
field: netintfieldhex (integer)
field: netintfield (integer)
field: longfield (integer)
field: intfield2 (integer)
field: intfield (integer)
ust_tests_demo:done (loglevel: TRACE_CRIT (2)) (type: tracepoint)
field: value (integer)
ust_tests_demo:starting (loglevel: TRACE_CRIT (2)) (type: tracepoint)
field: value (integer)
ust_tests_demo3:done (loglevel: TRACE_WARNING (4)) (type: tracepoint)
field: value (integer)

SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng list TC4
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 13 [in process_client_msg() at main.c:1998]
DEBUG1: Counting number of available session for UID 0 GID 0 [in lttng_sessions_count() at main.c:1969]
DEBUG1: Getting all available session for UID 0 GID 0 [in cmd_list_lttng_sessions() at cmd.c:2016]
DEBUG1: Sending response (size: 4388, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Tracing session TC4: [inactive]
Trace path: /cluster/temp/sessiondir/TC4_c

DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 11 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Listing domains found UST global domain [in cmd_list_domains() at cmd.c:1888]
DEBUG1: Sending response (size: 324, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
=== Domain: UST global ===

DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 10 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Consumer socket created (fd: 23) and added to output [in consumer_create_socket() at consumer.c:141]
DEBUG3: Number of UST global channels 1 [in cmd_list_channels() at cmd.c:1937]
DEBUG1: Listing channels for session TC4 [in list_lttng_channels() at cmd.c:124]
DEBUG1: Sending response (size: 624, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Channels:
-------------
- channel0: [enabled]

Attributes:
overwrite mode: 0
subbufers size: 4096
number of subbufers: 4
switch timer interval: 0
read timer interval: 200
output: mmap()
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 12 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Consumer socket created (fd: 23) and added to output [in consumer_create_socket() at consumer.c:141]
DEBUG1: Listing UST global events for channel channel0 [in list_lttng_ust_global_events() at cmd.c:184]
DEBUG3: Listing UST global 1 events [in list_lttng_ust_global_events() at cmd.c:204]
DEBUG1: Sending response (size: 600, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]

Events:
ust_tests_demo2:loop (type: tracepoint) [enabled] [with filter]

SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng start
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 16 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG2: Setting relayd for session TC4 [in setup_relayd() at cmd.c:630]
DEBUG1: Starting all UST traces [in ust_app_start_trace_all() at ust-app.c:2450]
DEBUG1: Starting tracing for ust app pid 14504 [in ust_app_start_trace() at ust-app.c:2162]
DEBUG3: mkdir() recursive /cluster/temp/sessiondir/TC4_c with mode 504 for uid 0 and gid 0 [in run_as_mkdir_recursive() at runas.c:342]
DEBUG1: Using run_as_clone [in run_as() at runas.c:325]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
liblttng_ust_tracepoint[14504/14505]: Registering probe to tracepoint lttng_ust:metadata (in __tracepoint_probe_register() at tracepoint.c:427)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG2: UST metadata opened for app pid 14504 [in create_ust_app_metadata() at ust-app.c:1332]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG2: UST metadata stream object created for app pid 14504 [in create_ust_app_metadata() at ust-app.c:1350]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG2: UST stream 1 ready (handle: 8) [in ust_app_start_trace() at ust-app.c:2251]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG2: UST stream 2 ready (handle: 9) [in ust_app_start_trace() at ust-app.c:2251]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG2: UST stream 3 ready (handle: 10) [in ust_app_start_trace() at ust-app.c:2251]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG2: UST stream 4 ready (handle: 11) [in ust_app_start_trace() at ust-app.c:2251]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Sending metadata stream fd to consumer on 23 [in ust_consumer_send_session() at ust-consumer.c:299]
DEBUG1: UST consumer sending metadata stream fd [in send_metadata() at ust-consumer.c:204]
DEBUG3: mkdir() recursive /cluster/temp/sessiondir/TC4_c//ust/demo-14504-20120831-104718/ with mode 504 for uid 0 and gid 0 [in run_as_mkdir_recursive() at runas.c:342]
DEBUG1: Using run_as_clone [in run_as() at runas.c:325]
DEBUG1: Sending streams of channel channel0 to UST consumer [in send_channel_streams() at ust-consumer.c:129]
DEBUG2: Sending channel channel0 to UST consumer [in send_channel() at ust-consumer.c:48]
DEBUG3: UST local consumer tracefile path: /cluster/temp/sessiondir/TC4_c//ust/demo-14504-20120831-104718/ [in send_channel_streams() at ust-consumer.c:146]
DEBUG2: Sending stream 31 of channel channel0 to kernel consumer [in send_channel_stream() at ust-consumer.c:89]
DEBUG2: Sending stream 33 of channel channel0 to kernel consumer [in send_channel_stream() at ust-consumer.c:89]
DEBUG2: Sending stream 35 of channel channel0 to kernel consumer [in send_channel_stream() at ust-consumer.c:89]
DEBUG2: Sending stream 37 of channel channel0 to kernel consumer [in send_channel_stream() at ust-consumer.c:89]
DEBUG1: UST consumer channel streams sent [in send_channel_streams() at ust-consumer.c:170]
DEBUG1: consumer fds (metadata and channel streams) sent [in ust_consumer_send_session() at ust-consumer.c:329]
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
libust[14504/14505]: message received
(in ust_listener_thread() at lttng-ust-comm.c:856)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
libust[14504/14505]: message successfully sent (in send_reply() at lttng-ust-comm.c:213)
DEBUG1: Apps thread polling on 3 fds [in thread_manage_apps() at main.c:1052]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Tracing started for session TC4
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng list TC4
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 13 [in process_client_msg() at main.c:1998]
DEBUG1: Counting number of available session for UID 0 GID 0 [in lttng_sessions_count() at main.c:1969]
DEBUG1: Getting all available session for UID 0 GID 0 [in cmd_list_lttng_sessions() at cmd.c:2016]
DEBUG1: Sending response (size: 4388, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Tracing session TC4: [active]
Trace path: /cluster/temp/sessiondir/TC4_c

DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 11 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Listing domains found UST global domain [in cmd_list_domains() at cmd.c:1888]
DEBUG1: Sending response (size: 324, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
=== Domain: UST global ===

DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 10 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Consumer socket created (fd: 23) and added to output [in consumer_create_socket() at consumer.c:141]
DEBUG3: Number of UST global channels 1 [in cmd_list_channels() at cmd.c:1937]
DEBUG1: Listing channels for session TC4 [in list_lttng_channels() at cmd.c:124]
DEBUG1: Sending response (size: 624, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Channels:
-------------
- channel0: [enabled]

Attributes:
overwrite mode: 0
subbufers size: 4096
number of subbufers: 4
switch timer interval: 0
read timer interval: 200
output: mmap()
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 12 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Consumer socket created (fd: 23) and added to output [in consumer_create_socket() at consumer.c:141]
DEBUG1: Listing UST global events for channel channel0 [in list_lttng_ust_global_events() at cmd.c:184]
DEBUG3: Listing UST global 1 events [in list_lttng_ust_global_events() at cmd.c:204]
DEBUG1: Sending response (size: 600, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]

Events:
ust_tests_demo2:loop (type: tracepoint) [enabled] [with filter]

SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # ps -ef |egrep "demo|ltt"
root 13726 6486 0 10:35 pts/2 00:00:00 lttng-sessiond -vvv
root 13866 13726 0 10:37 pts/2 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
root 14503 6486 0 10:47 pts/2 00:00:00 /bin/sh ./demo-trace 50
root 14504 14503 0 10:47 pts/2 00:00:00 ./demo 50
root 14548 6486 0 10:47 pts/2 00:00:00 egrep demo|ltt
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # more DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 8 [in process_client_msg() at main.c:1998]
DEBUG1: Waiting for 1 URIs from client ... [in process_client_msg() at main.c:2501]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG1: Tracing session _Trace_EA created in (null) with ID 14 by UID 0 GID 0 [in session_create() at session.c:236]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: Created hashtable size 4 at 0x689a90 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Setting trace directory path from URI to /tmp/ [in add_uri_to_consumer() at cmd.c:396]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 9 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session _Trace_EA by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: No kernel session when tearing down session [in kernel_destroy_session() at kernel.c:729]
DEBUG1: Destroying session _Trace_EA [in session_destroy() at session.c:149]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Updating kernel poll set [in update_kernel_poll() at main.c:546]
DEBUG1: Thread kernel polling on 2 fds [in thread_manage_kernel() at main.c:714]
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng list TC4Tracing... DEBUG1: PID 14504 unregistering with sock 19 [in ust_app_unregister() at ust-app.c:1504]
DEBUG1: Apps thread polling on 2 fds [in thread_manage_apps() at main.c:1052]
./demo-trace: line 3: 14504 Segmentation fault LD_PRELOAD=./liblttng-ust-provider-ust-tests-demo.so:./liblttng-ust-provider-ust-tests-demo3.so ./demo ${*}
DEBUG3: Call RCU deleting app PID 14504 [in delete_ust_app_rcu() at ust-app.c:240]
DEBUG2: Trace UST destroy metadata 6 [in trace_ust_destroy_metadata() at trace-ust.c:492]
DEBUG2: UST app pid 14504 deleted [in delete_ust_app() at ust-app.c:223]

DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 13 [in process_client_msg() at main.c:1998]
DEBUG1: Counting number of available session for UID 0 GID 0 [in lttng_sessions_count() at main.c:1969]
DEBUG1: Getting all available session for UID 0 GID 0 [in cmd_list_lttng_sessions() at cmd.c:2016]
DEBUG1: Sending response (size: 4388, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Tracing session TC4: [active]
Trace path: /cluster/temp/sessiondir/TC4_c

DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 11 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Listing domains found UST global domain [in cmd_list_domains() at cmd.c:1888]
DEBUG1: Sending response (size: 324, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
=== Domain: UST global ===

DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 10 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Consumer socket created (fd: 23) and added to output [in consumer_create_socket() at consumer.c:141]
DEBUG3: Number of UST global channels 1 [in cmd_list_channels() at cmd.c:1937]
DEBUG1: Listing channels for session TC4 [in list_lttng_channels() at cmd.c:124]
DEBUG1: Sending response (size: 624, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Channels:
-------------
- channel0: [enabled]

Attributes:
overwrite mode: 0
subbufers size: 4096
number of subbufers: 4
switch timer interval: 0
read timer interval: 200
output: mmap()
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 12 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: Consumer socket created (fd: 23) and added to output [in consumer_create_socket() at consumer.c:141]
DEBUG1: Listing UST global events for channel channel0 [in list_lttng_ust_global_events() at cmd.c:184]
DEBUG3: Listing UST global 1 events [in list_lttng_ust_global_events() at cmd.c:204]
DEBUG1: Sending response (size: 600, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]

Events:
ust_tests_demo2:loop (type: tracepoint) [enabled] [with filter]

[2]+ Exit 139 LTTNG_UST_DEBUG=1 ./demo-trace 50
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng list
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 13 [in process_client_msg() at main.c:1998]
DEBUG1: Counting number of available session for UID 0 GID 0 [in lttng_sessions_count() at main.c:1969]
DEBUG1: Getting all available session for UID 0 GID 0 [in cmd_list_lttng_sessions() at cmd.c:2016]
DEBUG1: Sending response (size: 4388, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Available tracing sessions:
1) TC4 (/cluster/temp/sessiondir/TC4_c) [active]

Use lttng list <session_name> for more details
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng stop
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 17 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG1: Stopping all UST traces [in ust_app_stop_trace_all() at ust-app.c:2476]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Tracing stopped for session TC4
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # lttng destroy
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 9 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session TC4 by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name TC4 [in session_find_by_name() at session.c:122]
DEBUG3: No kernel session when tearing down session [in kernel_destroy_session() at kernel.c:729]
DEBUG1: Destroy all UST traces [in ust_app_destroy_trace_all() at ust-app.c:2502]
DEBUG2: Trace UST destroy session 11 [in trace_ust_destroy_session() at trace-ust.c:574]
DEBUG1: Destroying session TC4 [in session_destroy() at session.c:149]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Updating kernel poll set [in update_kernel_poll() at main.c:546]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Thread kernel polling on 2 fds [in thread_manage_kernel() at main.c:714]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Session TC4 destroyed
SC-1:/cluster/temp/instr_apps # DEBUG2: Trace destroy UST channel channel0 [in trace_ust_destroy_channel() at trace-ust.c:457]
DEBUG2: Trace destroy UST event ust_tests_demo2:loop [in trace_ust_destroy_event() at trace-ust.c:415]

SC-1:/cluster/temp/instr_apps # lttng list
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 13 [in process_client_msg() at main.c:1998]
DEBUG1: Counting number of available session for UID 0 GID 0 [in lttng_sessions_count() at main.c:1969]
DEBUG1: Getting all available session for UID 0 GID 0 [in cmd_list_lttng_sessions() at cmd.c:2016]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
Currently no available tracing session
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # babeltrace DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 8 [in process_client_msg() at main.c:1998]
DEBUG1: Waiting for 1 URIs from client ... [in process_client_msg() at main.c:2501]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG1: Tracing session _Trace_EA created in (null) with ID 15 by UID 0 GID 0 [in session_create() at session.c:236]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: Created hashtable size 4 at 0x65a980 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Setting trace directory path from URI to /tmp/ [in add_uri_to_consumer() at cmd.c:396]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 9 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session _Trace_EA by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: No kernel session when tearing down session [in kernel_destroy_session() at kernel.c:729]
DEBUG1: Destroying session _Trace_EA [in session_destroy() at session.c:149]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Updating kernel poll set [in update_kernel_poll() at main.c:546]
DEBUG1: Thread kernel polling on 2 fds [in thread_manage_kernel() at main.c:714]
/cluster/temp/sessiondir/TC4_c
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # babeltrace /cluster/temp/sessiondir/TC4_c
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # dir /cluster/temp/sessiondir/TC4_c
total 4
drwxrwx--- 3 root root 4096 Aug 31 10:47 ust
SC-1:/cluster/temp/instr_apps # dir /cluster/temp/sessiondir/TC4_c/ust/demo-14504-20120831-104718/
total 20
-rwxrwxrwx 1 root root 4096 Aug 31 10:48 channel0_0
-rwxrwxrwx 1 root root 4096 Aug 31 10:48 channel0_1
-rwxrwxrwx 1 root root 4096 Aug 31 10:48 channel0_2
-rwxrwxrwx 1 root root 4096 Aug 31 10:48 channel0_3
-rwxrwxrwx 1 root root 4096 Aug 31 10:48 metadata
SC-1:/cluster/temp/instr_apps # DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Nothing recv() from client... continuing [in thread_manage_clients() at main.c:3034]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 8 [in process_client_msg() at main.c:1998]
DEBUG1: Waiting for 1 URIs from client ... [in process_client_msg() at main.c:2501]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG1: Tracing session _Trace_EA created in (null) with ID 16 by UID 0 GID 0 [in session_create() at session.c:236]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: Created hashtable size 4 at 0x65a980 of type 1 [in lttng_ht_new() at hashtable.c:96]
DEBUG2: Setting trace directory path from URI to /tmp/ [in add_uri_to_consumer() at cmd.c:396]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Wait for client response [in thread_manage_clients() at main.c:2991]
DEBUG1: Receiving data from client ... [in thread_manage_clients() at main.c:3030]
DEBUG1: Processing client command 9 [in process_client_msg() at main.c:1998]
DEBUG1: Getting session _Trace_EA by name [in process_client_msg() at main.c:2068]
DEBUG2: Trying to find session by name _Trace_EA [in session_find_by_name() at session.c:122]
DEBUG3: No kernel session when tearing down session [in kernel_destroy_session() at kernel.c:729]
DEBUG1: Destroying session _Trace_EA [in session_destroy() at session.c:149]
DEBUG1: Sending response (size: 16, retcode: Success) [in thread_manage_clients() at main.c:3081]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:2949]
DEBUG1: Updating kernel poll set [in update_kernel_poll() at main.c:546]
DEBUG1: Thread kernel polling on 2 fds [in thread_manage_kernel() at main.c:714]

SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps # pkill lttng-sessiond
DEBUG1: SIGTERM caught [in sighandler() at main.c:3512]
DEBUG1: Terminating all threads [in stop_threads() at main.c:369]
DEBUG1: Futex n to 1 wake done [in futex_nto1_wake() at futex.c:104]
DEBUG1: Kernel thread dying [in thread_manage_kernel() at main.c:787]
DEBUG1: Client thread dying [in thread_manage_clients() at main.c:3107]
DEBUG1: Notifying applications of session daemon state: 0 [in notify_ust_apps() at main.c:485]
DEBUG1: Clean command context structure [in clean_command_ctx() at main.c:465]
DEBUG1: Got the wait shm fd 8 [in get_wait_shm() at shm.c:117]
DEBUG1: Application communication apps thread cleanup complete [in thread_manage_apps() at main.c:1181]
DEBUG1: Futex wait update active 0 [in futex_wait_update() at futex.c:63]
DEBUG1: consumer thread cleanup completed [in thread_manage_consumer() at main.c:1012]
DEBUG1: Health check thread dying [in thread_manage_health() at main.c:2880]
DEBUG1: Futex n to 1 wait done [in futex_nto1_wait() at futex.c:90]
DEBUG1: Dispatch thread dying [in thread_dispatch_ust_registration() at main.c:1247]
SC-1:/cluster/temp/instr_apps # DEBUG1: UST Registration thread cleanup complete [in thread_registration_apps() at main.c:1438]
DEBUG1: Cleaning up [in cleanup() at main.c:389]
DEBUG1: Removing /var/run/lttng directory [in cleanup() at main.c:394]
DEBUG1: Cleaning up all sessions [in cleanup() at main.c:407]
DEBUG1: Closing all UST sockets [in cleanup() at main.c:420]
DEBUG2: UST app cleaning registered apps hash table [in ust_app_clean_list() at ust-app.c:1701]
DEBUG2: Closing kernel fd [in cleanup() at main.c:424]
DEBUG1: Unloading kernel modules [in cleanup() at main.c:431]
DEBUG1: Modprobe removal successful lttng-probe-timer [in modprobe_remove_lttng_data() at modprobe.c:118]
DEBUG1: Modprobe removal successful lttng-probe-statedump [in modprobe_remove_lttng_data() at modprobe.c:118]
DEBUG1: Modprobe removal successful lttng-probe-signal [in modprobe_remove_lttng_data() at modprobe.c:118]
DEBUG1: Modprobe removal successful lttng-probe-sched [in modprobe_remove_lttng_data() at modprobe.c:118]
DEBUG1: Modprobe removal successful lttng-probe-kvm [in modprobe_remove_lttng_data() at modprobe.c:118]
DEBUG1: Modprobe removal successful lttng-probe-irq [in modprobe_remove_lttng_data() at modprobe.c:118]
DEBUG1: Modprobe removal successful lttng-probe-block [in modprobe_remove_lttng_data() at modprobe.c:118]
DEBUG1: Modprobe removal successful lttng-types [in modprobe_remove_lttng_data() at modprobe.c:118]
Error: Unable to remove module lttng-probe-lttng
Error: Unable to remove module lttng-ring-buffer-metadata-mmap-client
Error: Unable to remove module lttng-ring-buffer-client-mmap-overwrite
Error: Unable to remove module lttng-ring-buffer-client-mmap-discard
Error: Unable to remove module lttng-ring-buffer-metadata-client
Error: Unable to remove module lttng-ring-buffer-client-overwrite
Error: Unable to remove module lttng-ring-buffer-client-discard
Error: Unable to remove module lttng-lib-ring-buffer
DEBUG1: Modprobe removal successful lttng-kretprobes [in modprobe_remove_lttng_data() at modprobe.c:118]
DEBUG1: Modprobe removal successful lttng-kprobes [in modprobe_remove_lttng_data() at modprobe.c:118]
DEBUG1: Modprobe removal successful lttng-ftrace [in modprobe_remove_lttng_data() at modprobe.c:118]
Error: Unable to remove module lttng-tracer
DEBUG1: *** assert failed :-) *** ==> Matthew, BEET driven development works! [in cleanup() at main.c:441]

[1]+ Done lttng-sessiond -vvv (wd: /cluster/temp/tdlt/happyTest)
(wd now: /cluster/temp/instr_apps)
SC-1:/cluster/temp/instr_apps #
SC-1:/cluster/temp/instr_apps #
    (1-1/1)