[lttng-dev] Trace Streaming problem

kumar s skumar.m226 at gmail.com
Tue Feb 11 02:54:15 EST 2014


Hi,

I am trying to start the trace on MIPS board and dump it remotely on PC.

The steps i do
On MIPS board:
lttng create -U net://192.168.233.207 newsession

lttng enable-event lttng_statedump_start -k

Error: Event lttng_statedump_start: Unable to connect to lttng-relayd
(channel channel0, session news)
Warning: Some command(s) went wrong

In lttng-sessiond -vvv log

[...]
DEBUG3 [1918/2019]: Consumer socket created (fd: 30) and added to output
(in consumer_create_socket() at consumer.c:300)
DEBUG1 [1918/2019]: Setting relayd for session news (in cmd_setup_relayd()
at cmd.c:722)
DEBUG3 [1918/2019]: Relayd connect ... (in relayd_connect() at relayd.c:466)
PERROR [1918/2019]: connect: Connection refused (in
lttcomm_connect_inet_sock() at inet.c:253)
Error: Unable to reach lttng-relayd
DEBUG1 [1918/2019]: Sending response (size: 16, retcode: Unable to connect
to lttng-relayd) (in thread_manage_clients() at main.c:3973)
DEBUG1 [1918/2019]: Clean command context structure (in clean_command_ctx()
at main.c:672)
DEBUG1 [1918/2019]: Accepting client command ... (in
thread_manage_clients() at main.c:3837)

On the linux pc
i have started lttng-relayd

lttng-relayd -vvv -C tcp://0.0.0.0:1234 -D tcp://0.0.0.0:5678 (as specified
in doc folder of lttng-tools)


Unfortunately i get error that lttng-relayd unable to connect. I also tried
started lttng-relayd on mips board and running the same, still i get same
error.

Can someone explain steps for lttng trace streaming or how i can dump the
trace live onto PC.

Thank you
Skumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140211/9e214727/attachment-0001.html>


More information about the lttng-dev mailing list