[lttng-dev] Probleme with live session on LTTng 2.7.0

Jonathan Rajotte-Julien jonathan.rajotte-julien at efficios.com
Fri Jun 8 10:10:44 EDT 2018


Hi Thierry,

----- Original Message -----
> From: "BADEUIL Thierry" <thierry.badeuil at thalesgroup.com>
> To: lttng-dev at lists.lttng.org
> Sent: Friday, June 8, 2018 9:45:44 AM
> Subject: [lttng-dev] Probleme with live session on LTTng 2.7.0

> Dear all,
> 
> 
> 
> I have problem with LTTng in live mode : I would like to send trace with TCP
> from my target to a Linux Computer. I will use babletrace on the Linux
> Computer.

LTTng 2.7 is not officially supported by the opensource community anymore. Please upgrade if possible.

> 
> 
> 
> Here is what I try to do on my target with LTTng 2.7.0 :
> 
> o   Lttng create test –U net://192.168.0.1:5151

Did you start a lttng-relayd process on the 192.168.0.1 host? How was it started?

> 
> o   Lttng enable-event –k sched_switch
> 
> o   I got an error : “Error: sched_switch: Unable to connect to lttng-relayd
> (channel channel0, session test)”
> 
> 
> 
> Then I tried :
> 
> o   Lttng-relayd –d

Was this done on the same machine where you run "lttng create" or on the 192.168.0.1 host?

> 
> o   Lttng create test –U net://192.168.0.1:5151

5151 is not the default port for lttng-relayd. Unless you specified custom port at lttng-relayd start, the default port are 5342:5343:5344.
See the lttng-relayd man page for more information.

> 
> o   Lttng enable-event –k sched_switch
> 
> o   I got the same error
> 
> 
> 
> The IP address of the Linux Computer is 192.168.0.1 and the port 5151 is
> open.
> 
> 
> 
> Why ?
> 
> 
> 
> Thierry BADEUIL
> 
> THALES COMMUNICATIONS
> 
> ( : +33 1 46 133 591
> 
> È  : +33 6 85 51 28 16
> 
> * :  <mailto:thierry.badeuil at fr.thalesgroup.com>
> thierry.badeuil at thalesgroup.com
> 
> 
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


More information about the lttng-dev mailing list