Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Live streaming question (lttng 2.4.0.rc4)
@ 2014-02-19 13:54 Anette Schött
  2014-02-19 15:55 ` Tan Dung Le Tran
  0 siblings, 1 reply; 2+ messages in thread
From: Anette Schött @ 2014-02-19 13:54 UTC (permalink / raw)


Hi,

I am trying to do live streaming via the lttng-relayd and babeltrace (lttng 2.4.0.rc4). I am running an emulator where
I want to both generate the user-space tracepoints and view them live on the same host (hope this is a valid use case).

I do the following:

# lttng-relayd -d -v -L net://localhost:5344
DEBUG3 [1516/1516]: URI string: net://localhost:5344 (in uri_parse() at uri.c:291)
DEBUG3 [1516/1516]: URI dtype: 1, proto: 1, host: localhost, subdir: , ctrl: 5344, data: 0 (in uri_parse() at uri.c:505)
DEBUG3 [1516/1516]: URI string: tcp://0.0.0.0:5342 (in uri_parse() at uri.c:291)
DEBUG3 [1516/1516]: URI dtype: 1, proto: 1, host: 0.0.0.0, subdir: , ctrl: 5342, data: 0 (in uri_parse() at uri.c:505)
DEBUG3 [1516/1516]: URI string: tcp://0.0.0.0:5343 (in uri_parse() at uri.c:291)
DEBUG3 [1516/1516]: URI dtype: 1, proto: 1, host: 0.0.0.0, subdir: , ctrl: 5343, data: 0 (in uri_parse() at uri.c:505)
DEBUG1 [1516/1516]: Signal handler set for SIGTERM, SIGUSR1, SIGPIPE and SIGINT (in set_signal_handler() at main.c:435)

# lttng create s1 --live 200000 -U net://localhost:5344
Session s1 created.
Traces will be written in net://localhost:5344

# lttng enable-channel ch1 -u
ERROR [834/838]: recvmsg inet: Connection reset by peer (in lttcomm_recvmsg_inet_sock() at inet.c:376)
Error: Channel ch1: Relay daemon not compatible (session s1)
Warning: Some command(s) went wrong

As all command are executed on the same host, why compatibility issues?

What commands shall I use to set up a live streaming?

Regards
Anette

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140219/35866916/attachment.html>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-19 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-19 13:54 [lttng-dev] Live streaming question (lttng 2.4.0.rc4) Anette Schött
2014-02-19 15:55 ` Tan Dung Le Tran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox