Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: anette.schott@ericsson.com (Anette Schött)
Subject: [lttng-dev] Live streaming question (lttng 2.4.0.rc4)
Date: Wed, 19 Feb 2014 13:54:47 +0000	[thread overview]
Message-ID: <0C794A2958AD524DAB4175408F839BD3159514@ESESSMB109.ericsson.se> (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>


             reply	other threads:[~2014-02-19 13:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19 13:54 Anette Schött [this message]
2014-02-19 15:55 ` Tan Dung Le Tran

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=0C794A2958AD524DAB4175408F839BD3159514@ESESSMB109.ericsson.se \
    --to=anette.schott@ericsson.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox