<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi group,</div>
<div> </div>
<div>I'm a bit frustrated not passing the hello world level.<br/>
But I'm eager to get access to this nice tooling.</div>
<div> </div>
<div>For now I'm assuming problems in access rights or<br/>
may be a 32/64bit library mismatch. Here my stackoverflow<br/>
post which wasn't responded. Hope I'll get a push here.</div>
<div> </div>
<div>thanks<br/>
Wolfgang R.</div>
<div> </div>
<div>========================================================</div>
<div>LTTng at the very beginning</div>
<div> </div>
<div>just at step zero of using lttng but can't pass it. Hope a small hint gives me a push.</div>
<div>Trying the run the most simple demo of the distribution lttng-ust/doc/examples/demo.</div>
<div> </div>
<div>cat README<br/>
...<br/>
The simplest command to trace the demo program are:<br/>
lttng create<br/>
lttng enable-event -u -a<br/>
lttng start<br/>
./demo-trace<br/>
lttng destroy<br/>
That will create a trace in your $HOME/lttng-traces directory.<br/>
...</div>
<div>Put my user lttng-sessiond in verbose mode and can talk to it. Here the state when the demo-trace starts</div>
<div>row@cobra7:/$ lttng list auto-20150313-091148<br/>
Tracing session auto-20150313-091148: [active]<br/>
Trace path: /home/local/ESG_GMBH/row/lttng-traces/auto-20150313-091148</div>
<div>=== Domain: UST global ===</div>
<div>Buffer type: per UID</div>
<div>Channels:<br/>
-------------<br/>
- channel0: [enabled]</div>
<div> Attributes:<br/>
overwrite mode: 0<br/>
subbufers size: 131072<br/>
number of subbufers: 4<br/>
switch timer interval: 0<br/>
read timer interval: 0<br/>
output: mmap()</div>
<div> Events:<br/>
* (type: tracepoint) [enabled]</div>
<div> </div>
<div>Executing the demo-trace shows no reaction in the daemon shell and no output file created. Below the client log.</div>
<div>I can't see any problem reported and don't know what to check next.</div>
<div> </div>
<div>thanks in advance for feedback</div>
<div>Wolfgang R.</div>
<div> </div>
<div>row@cobra7:~/lttng_source/lttng-ust/doc/examples/demo$ export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib</div>
<div>row@cobra7:~/lttng_source/lttng-ust/doc/examples/demo$ ./demo-trace<br/>
liblttng_ust_tracepoint[17268/17268]: just registered a tracepoints section from 0xb754f780 and having 2 tracepoints (in tracepoint_register_lib() at tracepoint.c:767)<br/>
liblttng_ust_tracepoint[17268/17268]: registered tracepoint: ust_baddr_statedump:soinfo (in tracepoint_register_lib() at tracepoint.c:772)<br/>
liblttng_ust_tracepoint[17268/17268]: registered tracepoint: lttng_ust_tracef:event (in tracepoint_register_lib() at tracepoint.c:772)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: adding probe ust_baddr_statedump containing 1 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-metadata-mmap" init<br/>
(in lttng_ring_buffer_metadata_client_init() at lttng-ring-buffer-metadata-client.h:330)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-overwrite-mmap" init<br/>
(in lttng_ring_buffer_client_overwrite_init() at lttng-ring-buffer-client.h:681)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-overwrite-rt-mmap" init<br/>
(in lttng_ring_buffer_client_overwrite_rt_init() at lttng-ring-buffer-client.h:681)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-discard-mmap" init<br/>
(in lttng_ring_buffer_client_discard_init() at lttng-ring-buffer-client.h:681)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-discard-rt-mmap" init<br/>
(in lttng_ring_buffer_client_discard_rt_init() at lttng-ring-buffer-client.h:681)<br/>
libust[17268/17269]: Info: sessiond not accepting connections to global apps socket (in ust_listener_thread() at lttng-ust-comm.c:1221)<br/>
libust[17268/17269]: Waiting for global apps sessiond (in wait_for_sessiond() at lttng-ust-comm.c:1132)<br/>
libust[17268/17270]: Info: sessiond not accepting connections to local apps socket (in ust_listener_thread() at lttng-ust-comm.c:1221)<br/>
libust[17268/17270]: Waiting for local apps sessiond (in wait_for_sessiond() at lttng-ust-comm.c:1132)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: just registered probe ust_baddr_statedump containing 1 events (in lttng_lazy_probe_register() at lttng-probes.c:115)<br/>
libust[17268/17268]: adding probe lttng_ust_tracef containing 1 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: just registered probe lttng_ust_tracef containing 1 events (in lttng_lazy_probe_register() at lttng-probes.c:115)<br/>
libust[17268/17268]: adding probe ust_tests_demo3 containing 1 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: just registered probe ust_tests_demo3 containing 1 events (in lttng_lazy_probe_register() at lttng-probes.c:115)<br/>
libust[17268/17268]: adding probe ust_tests_demo containing 2 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: just registered probe ust_tests_demo containing 2 events (in lttng_lazy_probe_register() at lttng-probes.c:115)<br/>
libust[17268/17268]: adding probe ust_tests_demo2 containing 1 events to lazy registration list (in lttng_probe_register() at lttng-probes.c:216)<br/>
liblttng_ust_tracepoint[17268/17268]: just registered a tracepoints section from 0x804b144 and having 4 tracepoints (in tracepoint_register_lib() at tracepoint.c:767)<br/>
liblttng_ust_tracepoint[17268/17268]: registered tracepoint: ust_tests_demo:starting (in tracepoint_register_lib() at tracepoint.c:772)<br/>
liblttng_ust_tracepoint[17268/17268]: registered tracepoint: ust_tests_demo:done (in tracepoint_register_lib() at tracepoint.c:772)<br/>
liblttng_ust_tracepoint[17268/17268]: registered tracepoint: ust_tests_demo2:loop (in tracepoint_register_lib() at tracepoint.c:772)<br/>
liblttng_ust_tracepoint[17268/17268]: registered tracepoint: ust_tests_demo3:done (in tracepoint_register_lib() at tracepoint.c:772)<br/>
Demo program starting.<br/>
Tracing... done.<br/>
liblttng_ust_tracepoint[17268/17268]: just unregistered a tracepoints section from 0x804b144 (in tracepoint_unregister_lib() at tracepoint.c:797)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: just unregistered probe ust_tests_demo2 (in lttng_probe_unregister() at lttng-probes.c:245)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: just unregistered probe ust_tests_demo (in lttng_probe_unregister() at lttng-probes.c:245)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: just unregistered probe ust_tests_demo3 (in lttng_probe_unregister() at lttng-probes.c:245)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: just unregistered probe lttng_ust_tracef (in lttng_probe_unregister() at lttng-probes.c:245)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-discard-rt-mmap" exit<br/>
(in lttng_ring_buffer_client_discard_rt_exit() at lttng-ring-buffer-client.h:688)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-discard-mmap" exit<br/>
(in lttng_ring_buffer_client_discard_exit() at lttng-ring-buffer-client.h:688)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-overwrite-rt-mmap" exit<br/>
(in lttng_ring_buffer_client_overwrite_rt_exit() at lttng-ring-buffer-client.h:688)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-overwrite-mmap" exit<br/>
(in lttng_ring_buffer_client_overwrite_exit() at lttng-ring-buffer-client.h:688)<br/>
libust[17268/17268]: LTT : ltt ring buffer client "relay-metadata-mmap" exit<br/>
(in lttng_ring_buffer_metadata_client_exit() at lttng-ring-buffer-metadata-client.h:337)<br/>
libust[17268/17268]: 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)<br/>
libust[17268/17268]: just unregistered probe ust_baddr_statedump (in lttng_probe_unregister() at lttng-probes.c:245)<br/>
liblttng_ust_tracepoint[17268/17268]: just unregistered a tracepoints section from 0xb754f780 (in tracepoint_unregister_lib() at tracepoint.c:797)<br/>
row@cobra7:~/lttng_source/lttng-ust/doc/examples/demo$</div>
</div></div></body></html>