All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Wolfgang Rostek" <wolfgang.rostek@gmx.de>
To: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: lttng-dev@lists.lttng.org
Subject: Re: Can't get any event output from the demo exe
Date: Mon, 23 Mar 2015 16:39:28 +0100	[thread overview]
Message-ID: <trinity-7f4e3d2c-257e-4b0c-92c6-b4db5e00c863-1427125168642__14978.5190042623$1427125242$gmane$org@3capp-gmx-bs67> (raw)
In-Reply-To: <1948116446.75706.1427119102220.JavaMail.zimbra@efficios.com>

Hi Mathieu,

thanks for looking at it.

Here the complete log of both sides



row@cobra7:~$ lttng create
Session auto-20150323-162735 created.
Traces will be written in /home/local/ESG_GMBH/row/lttng-traces/auto-20150323-162735


DEBUG1 [2915/2921]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [2915/2921]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [2915/2921]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [2915/2921]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [2915/2921]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [2915/2921]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [2915/2921]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [2915/2921]: Processing client command 8 (in process_client_msg() at main.c:2637)
DEBUG1 [2915/2921]: Waiting for 1 URIs from client ... (in process_client_msg() at main.c:3201)
DEBUG2 [2915/2921]: Trying to find session by name auto-20150323-162735 (in session_find_by_name() at session.c:169)
DEBUG3 [2915/2921]: Created hashtable size 4 at 0xb2a05a28 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG1 [2915/2921]: Tracing session auto-20150323-162735 created with ID 0 by UID 1548223785 GID 1548222977 (in session_create() at session.c:276)
DEBUG2 [2915/2921]: Trying to find session by name auto-20150323-162735 (in session_find_by_name() at session.c:169)
DEBUG3 [2915/2921]: Created hashtable size 4 at 0xb2a0ad80 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG2 [2915/2921]: Setting trace directory path from URI to /home/local/ESG_GMBH/row/lttng-traces/auto-20150323-162735 (in add_uri_to_consumer() at cmd.c:481)
DEBUG1 [2915/2921]: Sending response (size: 16, retcode: Success) (in thread_manage_clients() at main.c:3909)
DEBUG1 [2915/2921]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [2915/2921]: Accepting client command ... (in thread_manage_clients() at main.c:3773)

row@cobra7:~$ lttng enable-event -u -a
All UST events are enabled in channel channel0

DEBUG1 [2915/2921]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [2915/2921]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [2915/2921]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [2915/2921]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [2915/2921]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [2915/2921]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [2915/2921]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [2915/2921]: Processing client command 6 (in process_client_msg() at main.c:2637)
DEBUG1 [2915/2921]: Getting session auto-20150323-162735 by name (in process_client_msg() at main.c:2716)
DEBUG2 [2915/2921]: Trying to find session by name auto-20150323-162735 (in session_find_by_name() at session.c:169)
DEBUG1 [2915/2921]: Creating UST session (in create_ust_session() at main.c:2517)
DEBUG3 [2915/2921]: Created hashtable size 4 at 0xb2a039f0 of type 0 (in lttng_ht_new() at hashtable.c:127)
DEBUG3 [2915/2921]: Created hashtable size 4 at 0xb2a03d18 of type 0 (in lttng_ht_new() at hashtable.c:127)
DEBUG3 [2915/2921]: Created hashtable size 4 at 0xb2a04040 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG2 [2915/2921]: UST trace session create successful (in trace_ust_create_session() at trace-ust.c:263)
DEBUG3 [2915/2921]: Copying tracing session consumer output in UST session (in copy_session_consumer() at main.c:2466)
DEBUG3 [2915/2921]: Created hashtable size 4 at 0xb2a04368 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG3 [2915/2921]: Copy session consumer subdir /ust (in copy_session_consumer() at main.c:2484)
DEBUG1 [2915/2921]: Spawning consumerd (in spawn_consumerd() at main.c:2158)
DEBUG2 [2915/2921]: Consumer pid 2987 (in start_consumerd() at main.c:2340)
DEBUG2 [2915/2921]: Spawning consumer control thread (in start_consumerd() at main.c:2343)
DEBUG3 [2915/2918]: [ht-thread] Polling on 2 fds. (in thread_ht_cleanup() at ht-cleanup.c:64)
DEBUG1 [2987/2987]: Using 32-bit UST consumer at: /usr/lib/i386-linux-gnu/lttng/libexec/lttng-consumerd (in spawn_consumerd() at main.c:2278)
DEBUG1 [2915/2988]: [thread] Manage consumer started (in thread_manage_consumer() at main.c:994)
DEBUG2 [2915/2988]: Receiving code from consumer err_sock (in thread_manage_consumer() at main.c:1079)
DEBUG1 [2915/2988]: Consumer command socket ready (fd: 26 (in thread_manage_consumer() at main.c:1113)
DEBUG1 [2915/2988]: Consumer metadata socket ready (fd: 27) (in thread_manage_consumer() at main.c:1115)
DEBUG3 [2915/2921]: Consumer socket created (fd: 26) and added to output (in consumer_create_socket() at consumer.c:301)
DEBUG1 [2915/2921]: Setting relayd for session auto-20150323-162735 (in cmd_setup_relayd() at cmd.c:722)
DEBUG2 [2915/2921]: Trace UST channel channel0 not found by name (in trace_ust_find_channel_by_name() at trace-ust.c:162)
DEBUG1 [2915/2921]: Enabling channel  for session auto-20150323-162735 (in cmd_enable_channel() at cmd.c:910)
DEBUG2 [2915/2921]: Trace UST channel channel0 not found by name (in trace_ust_find_channel_by_name() at trace-ust.c:162)
DEBUG3 [2915/2921]: Created hashtable size 4 at 0xb2a04910 of type 0 (in lttng_ht_new() at hashtable.c:127)
DEBUG3 [2915/2921]: Created hashtable size 4 at 0xb2a04bf0 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG2 [2915/2921]: Trace UST channel channel0 created (in trace_ust_create_channel() at trace-ust.c:331)
DEBUG2 [2915/2921]: Channel channel0 is being created for UST with buffer 1 and id 0 (in channel_ust_create() at channel.c:348)
DEBUG2 [2915/2921]: UST app adding channel channel0 to UST domain for session id 0 (in ust_app_create_channel_glb() at ust-app.c:3536)
DEBUG2 [2915/2921]: Channel channel0 created successfully (in channel_ust_create() at channel.c:383)
DEBUG2 [2915/2921]: Trace UST channel channel0 found by name (in trace_ust_find_channel_by_name() at trace-ust.c:157)
DEBUG2 [2915/2921]: Trace UST event * NOT found (in trace_ust_find_event() at trace-ust.c:198)
DEBUG2 [2915/2921]: Trace UST event *, loglevel (0,-1) created (in trace_ust_create_event() at trace-ust.c:405)
DEBUG1 [2915/2921]: UST app creating event * for all apps for session id 0 (in ust_app_create_event_glb() at ust-app.c:3687)
DEBUG1 [2915/2921]: Event UST * created in channel channel0 (in event_ust_enable_tracepoint() at event.c:469)
DEBUG1 [2915/2921]: Sending response (size: 16, retcode: Success) (in thread_manage_clients() at main.c:3909)
DEBUG1 [2915/2921]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [2915/2921]: Accepting client command ... (in thread_manage_clients() at main.c:3773)

row@cobra7:~$ lttng start
Tracing started for session auto-20150323-162735

DEBUG1 [2915/2921]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [2915/2921]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [2915/2921]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [2915/2921]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [2915/2921]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [2915/2921]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [2915/2921]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [2915/2921]: Processing client command 16 (in process_client_msg() at main.c:2637)
DEBUG1 [2915/2921]: Getting session auto-20150323-162735 by name (in process_client_msg() at main.c:2716)
DEBUG2 [2915/2921]: Trying to find session by name auto-20150323-162735 (in session_find_by_name() at session.c:169)
DEBUG1 [2915/2921]: Starting all UST traces (in ust_app_start_trace_all() at ust-app.c:4034)
DEBUG1 [2915/2921]: Sending response (size: 16, retcode: Success) (in thread_manage_clients() at main.c:3909)
DEBUG1 [2915/2921]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [2915/2921]: Accepting client command ... (in thread_manage_clients() at main.c:3773)


row@cobra7:~/lttng_source/lttng-ust/doc/examples/demo$ ./demo-trace
liblttng_ust_tracepoint[3581/3581]: just registered a tracepoints section from 0xb757c780 and having 2 tracepoints (in tracepoint_register_lib() at tracepoint.c:767)
liblttng_ust_tracepoint[3581/3581]: registered tracepoint: ust_baddr_statedump:soinfo (in tracepoint_register_lib() at tracepoint.c:772)
liblttng_ust_tracepoint[3581/3581]: registered tracepoint: lttng_ust_tracef:event (in tracepoint_register_lib() at tracepoint.c:772)
libust[3581/3581]: Provider "ust_baddr_statedump" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3581]: adding probe ust_baddr_statedump containing 1 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)
libust[3581/3581]: LTT : ltt ring buffer client "relay-metadata-mmap" init
(in lttng_ring_buffer_metadata_client_init() at lttng-ring-buffer-metadata-client.h:330)
libust[3581/3581]: LTT : ltt ring buffer client "relay-overwrite-mmap" init
(in lttng_ring_buffer_client_overwrite_init() at lttng-ring-buffer-client.h:681)
libust[3581/3581]: LTT : ltt ring buffer client "relay-overwrite-rt-mmap" init
(in lttng_ring_buffer_client_overwrite_rt_init() at lttng-ring-buffer-client.h:681)
libust[3581/3581]: LTT : ltt ring buffer client "relay-discard-mmap" init
(in lttng_ring_buffer_client_discard_init() at lttng-ring-buffer-client.h:681)
libust[3581/3581]: LTT : ltt ring buffer client "relay-discard-rt-mmap" init
(in lttng_ring_buffer_client_discard_rt_init() at lttng-ring-buffer-client.h:681)
libust[3581/3582]: Info: sessiond not accepting connections to global apps socket (in ust_listener_thread() at lttng-ust-comm.c:1221)
libust[3581/3583]: Info: sessiond not accepting connections to local apps socket (in ust_listener_thread() at lttng-ust-comm.c:1221)
libust[3581/3582]: Waiting for global apps sessiond (in wait_for_sessiond() at lttng-ust-comm.c:1132)
libust[3581/3581]: Provider "lttng_ust_tracef" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3583]: Waiting for local apps sessiond (in wait_for_sessiond() at lttng-ust-comm.c:1132)
libust[3581/3581]: just registered probe ust_baddr_statedump containing 1 events (in lttng_lazy_probe_register() at lttng-probes.c:115)
libust[3581/3581]: adding probe lttng_ust_tracef containing 1 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)
libust[3581/3581]: Provider "ust_tests_demo3" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3581]: just registered probe lttng_ust_tracef containing 1 events (in lttng_lazy_probe_register() at lttng-probes.c:115)
libust[3581/3581]: adding probe ust_tests_demo3 containing 1 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)
libust[3581/3581]: Provider "ust_tests_demo" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3581]: just registered probe ust_tests_demo3 containing 1 events (in lttng_lazy_probe_register() at lttng-probes.c:115)
libust[3581/3581]: adding probe ust_tests_demo containing 2 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)
libust[3581/3581]: Provider "ust_tests_demo2" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3581]: just registered probe ust_tests_demo containing 2 events (in lttng_lazy_probe_register() at lttng-probes.c:115)
libust[3581/3581]: adding probe ust_tests_demo2 containing 1 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)
liblttng_ust_tracepoint[3581/3581]: just registered a tracepoints section from 0x804b144 and having 4 tracepoints (in tracepoint_register_lib() at tracepoint.c:767)
liblttng_ust_tracepoint[3581/3581]: registered tracepoint: ust_tests_demo:starting (in tracepoint_register_lib() at tracepoint.c:772)
liblttng_ust_tracepoint[3581/3581]: registered tracepoint: ust_tests_demo:done (in tracepoint_register_lib() at tracepoint.c:772)
liblttng_ust_tracepoint[3581/3581]: registered tracepoint: ust_tests_demo2:loop (in tracepoint_register_lib() at tracepoint.c:772)
liblttng_ust_tracepoint[3581/3581]: registered tracepoint: ust_tests_demo3:done (in tracepoint_register_lib() at tracepoint.c:772)
Demo program starting.
Tracing...  done.
liblttng_ust_tracepoint[3581/3581]: just unregistered a tracepoints section from 0x804b144 (in tracepoint_unregister_lib() at tracepoint.c:797)
libust[3581/3581]: Provider "ust_tests_demo2" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3581]: just unregistered probe ust_tests_demo2 (in lttng_probe_unregister() at lttng-probes.c:245)
libust[3581/3581]: Provider "ust_tests_demo" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3581]: just unregistered probe ust_tests_demo (in lttng_probe_unregister() at lttng-probes.c:245)
libust[3581/3581]: Provider "ust_tests_demo3" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3581]: just unregistered probe ust_tests_demo3 (in lttng_probe_unregister() at lttng-probes.c:245)
libust[3581/3581]: Provider "lttng_ust_tracef" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3581]: just unregistered probe lttng_ust_tracef (in lttng_probe_unregister() at lttng-probes.c:245)
libust[3581/3581]: LTT : ltt ring buffer client "relay-discard-rt-mmap" exit
(in lttng_ring_buffer_client_discard_rt_exit() at lttng-ring-buffer-client.h:688)
libust[3581/3581]: LTT : ltt ring buffer client "relay-discard-mmap" exit
(in lttng_ring_buffer_client_discard_exit() at lttng-ring-buffer-client.h:688)
libust[3581/3581]: LTT : ltt ring buffer client "relay-overwrite-rt-mmap" exit
(in lttng_ring_buffer_client_overwrite_rt_exit() at lttng-ring-buffer-client.h:688)
libust[3581/3581]: LTT : ltt ring buffer client "relay-overwrite-mmap" exit
(in lttng_ring_buffer_client_overwrite_exit() at lttng-ring-buffer-client.h:688)
libust[3581/3581]: LTT : ltt ring buffer client "relay-metadata-mmap" exit
(in lttng_ring_buffer_metadata_client_exit() at lttng-ring-buffer-metadata-client.h:337)
libust[3581/3581]: Provider "ust_baddr_statedump" accepted, version 1.0 is compatible with LTTng UST provider version 1.0. (in check_provider_version() at lttng-probes.c:174)
libust[3581/3581]: just unregistered probe ust_baddr_statedump (in lttng_probe_unregister() at lttng-probes.c:245)
liblttng_ust_tracepoint[3581/3581]: just unregistered a tracepoints section from 0xb757c780 (in tracepoint_unregister_lib() at tracepoint.c:797)
row@cobra7:~/lttng_source/lttng-ust/doc/examples/demo$


=> no log in sessiond shell

  parent reply	other threads:[~2015-03-23 15:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <trinity-e73e3633-440b-429c-ad5e-bf48c3413989-1426531801924@3capp-gmx-bs44>
2015-03-16 19:55 ` Can't get any event output from the demo exe Jonathan Rajotte Julien
     [not found] ` <55073522.6080006@efficios.com>
2015-03-16 21:37   ` Fw: " Wolfgang Rostek
2015-03-17  7:31   ` Wolfgang Rostek
2015-03-17  7:49   ` Wolfgang Rostek
     [not found]   ` <trinity-6a4fab60-3c7e-4785-a2f2-e42bba49fcb4-1426578599498@3capp-gmx-bs25>
2015-03-23 13:58     ` Mathieu Desnoyers
     [not found]     ` <1948116446.75706.1427119102220.JavaMail.zimbra@efficios.com>
2015-03-23 15:39       ` Wolfgang Rostek [this message]
     [not found]       ` <trinity-7f4e3d2c-257e-4b0c-92c6-b4db5e00c863-1427125168642@3capp-gmx-bs67>
2015-03-23 15:58         ` Mathieu Desnoyers
     [not found]         ` <430207063.77873.1427126336840.JavaMail.zimbra@efficios.com>
2015-03-27  8:27           ` Can't get any event output from the demo exe [solved] Wolfgang Rostek
     [not found]           ` <trinity-d22c7eac-b7c9-427b-9b66-822ed9615dc9-1427444856982@3capp-gmx-bs08>
2015-03-27 13:52             ` Mathieu Desnoyers
     [not found]             ` <2124338345.119592.1427464333584.JavaMail.zimbra@efficios.com>
2015-03-27 14:00               ` Wolfgang Rostek
     [not found]               ` <trinity-3a517d85-a1a4-4e19-a307-e67ef4d6a1a7-1427464856332@3capp-gmx-bs16>
2015-03-29 22:01                 ` Alexandre Montplaisir
     [not found]                 ` <55187633.8000203@voxpopuli.im>
2015-03-30 11:19                   ` Wolfgang Rostek
     [not found] <48CF5AC71E61DB46B70D0F388054EFFD706DB4D2@VAL-E-02.valcartier.drdc-rddc.gc.ca>
2015-03-17 18:37 ` Can't get any event output from the demo exe Wolfgang Rostek
2015-03-17 13:08 Thibault, Daniel
  -- strict thread matches above, loose matches on Subject: below --
2015-03-16 18:50 Wolfgang Rostek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='trinity-7f4e3d2c-257e-4b0c-92c6-b4db5e00c863-1427125168642__14978.5190042623$1427125242$gmane$org@3capp-gmx-bs67' \
    --to=wolfgang.rostek@gmx.de \
    --cc=lttng-dev@lists.lttng.org \
    --cc=mathieu.desnoyers@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.