* Re: Trace Compass in live session [not found] <2588C50AE11CCC4B945875227E501190021891E993A3@THSONEA01CMS04P.one.grp> @ 2018-06-12 17:04 ` Jonathan Rajotte-Julien [not found] ` <1650477991.11598.1528823042146.JavaMail.zimbra@efficios.com> 1 sibling, 0 replies; 5+ messages in thread From: Jonathan Rajotte-Julien @ 2018-06-12 17:04 UTC (permalink / raw) To: BADEUIL Thierry; +Cc: lttng-dev Hi Thierry, Glad you got the base setup working. Please reply to the other thread indicating what was necessary to make it work on your end. This might be useful for other people in the future. Now my question is what is the end goal of using the live streaming mode. Is it really necessary? What are you trying to achieve overall? Are you trying to debug a certain scenario on you platform that can be reproduced easily? Are you simply checking out how LTTng works? Please provide more context so we can help you. See more inline. ----- Original Message ----- > From: "BADEUIL Thierry" <thierry.badeuil@thalesgroup.com> > To: "lttng-dev" <lttng-dev@lists.lttng.org> > Sent: Tuesday, June 12, 2018 12:29:22 PM > Subject: [lttng-dev] Trace Compass in live session > Dear all, > > > > I have difficulties to use Babeltrace in live session and I would like to > use Trace Compass. What problem are you hitting? TraceCompass does not support the live protocol. See [1] [2] for why. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=486728 [2] https://git.eclipse.org/r/#/c/69285/ > > > > My target activated LTTng with : > > - Lttng create test –live –set-url:’net://192.168.0.1:5342:5343’ This should be: lttng create test --set-url="net://192.168.0.1:5342:5343" --live > > - Lttng enable-event sched_switch > > - Lttng start > > > > My host (@192.168.0.1) activated LTTng with : > > - Lttng-relayd –vv Since this seems to be working you can drop the verbose options (-vvv). > > > > Everything seems to be OK because my host received bytes from my target > during 1 minute. Does the event timestamps show a 1 minute difference on the console? Note that even if you see events outputted to the console during 1 minute does not necessarily means that a full minute of "events" is present since there might be latency between a "lttng stop" and a complete live reception. It take more time to serialize (in time) events than to produce them. > > I would like to see the traces in ~/lttng-traces with TraceCompass and I can > only watch the first second of my recording. It is impossible to see after > (I did a lot of refresh…). Is your session stopped/destroyed? If it is the case, you should be able to read the complete trace from TraceCompass or LTTng Scope. Could you upload the trace (make sure there is no private data)? Cheers _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <1650477991.11598.1528823042146.JavaMail.zimbra@efficios.com>]
* Re: Trace Compass in live session [not found] ` <1650477991.11598.1528823042146.JavaMail.zimbra@efficios.com> @ 2018-06-13 7:48 ` BADEUIL Thierry [not found] ` <2588C50AE11CCC4B945875227E501190021891F34DA5@THSONEA01CMS04P.one.grp> 1 sibling, 0 replies; 5+ messages in thread From: BADEUIL Thierry @ 2018-06-13 7:48 UTC (permalink / raw) To: Jonathan Rajotte-Julien; +Cc: lttng-dev [-- Attachment #1.1: Type: text/plain, Size: 3969 bytes --] Hi, The end of the goal is to debug and understand how 3 applications worked together on my embedded processor. That is why I am using sched_switch option of LTTng. I can be reproduced easily. I need to work in live session because I do not have enough memory for the LTTng traces and I should need a lot of memory. Answers inline your email with [TB1]. Thierry BADEUIL THALES COMMUNICATIONS T : +33 1 46 133 591 ( : +33 6 85 51 28 16 : thierry.badeuil@thalesgroup.com -----Message d'origine----- De : Jonathan Rajotte-Julien [mailto:jonathan.rajotte-julien@efficios.com] Envoyé : mardi 12 juin 2018 19:04 À : BADEUIL Thierry Cc : lttng-dev Objet : Re: [lttng-dev] Trace Compass in live session Hi Thierry, Glad you got the base setup working. Please reply to the other thread indicating what was necessary to make it work on your end. This might be useful for other people in the future. Now my question is what is the end goal of using the live streaming mode. Is it really necessary? What are you trying to achieve overall? Are you trying to debug a certain scenario on you platform that can be reproduced easily? Are you simply checking out how LTTng works? Please provide more context so we can help you. See more inline. ----- Original Message ----- > From: "BADEUIL Thierry" <thierry.badeuil@thalesgroup.com> > To: "lttng-dev" <lttng-dev@lists.lttng.org> > Sent: Tuesday, June 12, 2018 12:29:22 PM > Subject: [lttng-dev] Trace Compass in live session > Dear all, > > > > I have difficulties to use Babeltrace in live session and I would like to > use Trace Compass. What problem are you hitting? TraceCompass does not support the live protocol. See [1] [2] for why. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=486728 [2] https://git.eclipse.org/r/#/c/69285/ [TB1] : Yes I know that but when the trace files are updated, TraceCompass did not upated it even with F5. I do not understand why ! > > > > My target activated LTTng with : > > - Lttng create test –live –set-url:’net://192.168.0.1:5342:5343’ This should be: lttng create test --set-url="net://192.168.0.1:5342:5343" --live [TB1] : both solution worked on my target. Is there any difference between the two syntaxes ? > > - Lttng enable-event sched_switch > > - Lttng start > > > > My host (@192.168.0.1) activated LTTng with : > > - Lttng-relayd –vv Since this seems to be working you can drop the verbose options (-vvv). [TB1] : OK ! > > > > Everything seems to be OK because my host received bytes from my target > during 1 minute. Does the event timestamps show a 1 minute difference on the console? Note that even if you see events outputted to the console during 1 minute does not necessarily means that a full minute of "events" is present since there might be latency between a "lttng stop" and a complete live reception. It take more time to serialize (in time) events than to produce them. [TB1] : If I set 1 minute of timestamp, I can watch only 1 minute of events on TraceCompass. I have got the same problem even I stopped or not lttng-relayd. If I set 2 minutes, I can watch 2 minutes etc... > > I would like to see the traces in ~/lttng-traces with TraceCompass and I can > only watch the first second of my recording. It is impossible to see after > (I did a lot of refresh…). Is your session stopped/destroyed? [TB1] : same probleme with lttng-relayd stopped or not. Remember that TraceCompass is on a host and lttng session is on my target. The connection between is via Ethernet. If it is the case, you should be able to read the complete trace from TraceCompass or LTTng Scope. Could you upload the trace (make sure there is no private data)? [TB1] : I can not and I do not understand why................ I did a chmod 777 on the traces and nothing changed. Cheers [-- Attachment #1.2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 7343 bytes --] [-- Attachment #2: Type: text/plain, Size: 156 bytes --] _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <2588C50AE11CCC4B945875227E501190021891F34DA5@THSONEA01CMS04P.one.grp>]
* Re: Trace Compass in live session [not found] ` <2588C50AE11CCC4B945875227E501190021891F34DA5@THSONEA01CMS04P.one.grp> @ 2018-06-13 11:57 ` Jonathan Rajotte-Julien [not found] ` <677249926.12256.1528891059352.JavaMail.zimbra@efficios.com> 1 sibling, 0 replies; 5+ messages in thread From: Jonathan Rajotte-Julien @ 2018-06-13 11:57 UTC (permalink / raw) To: BADEUIL Thierry; +Cc: lttng-dev Hi Thierry, ----- Original Message ----- > From: "BADEUIL Thierry" <thierry.badeuil@thalesgroup.com> > To: "Jonathan Rajotte-Julien" <jonathan.rajotte-julien@efficios.com> > Cc: "lttng-dev" <lttng-dev@lists.lttng.org> > Sent: Wednesday, June 13, 2018 3:48:44 AM > Subject: RE: [lttng-dev] Trace Compass in live session > Hi, > > The end of the goal is to debug and understand how 3 applications worked > together on my embedded processor. That is why I am using sched_switch option > of LTTng. I can be reproduced easily. I need to work in live session because I > do not have enough memory for the LTTng traces and I should need a lot of > memory. Well in that case let's remove the usage of the lttng-live feature. It is unnecessary here. What you need to do is to stream the session to lttng-relayd, reproduce your interaction, stop the session, validate that no events were dropped, read the session with LTTng Scope [1]/TraceCompass. On the embedded system: lttng create --set-url="net://192.168.0.1" (you can drop the port since they are the "default" ones) lttng enable-event -k 'sched_*' lttng start <do your thing here> lttng stop lttng destroy Once the "stop" command is issued, you can read the trace one the HOST using Babeltrace, LTTng Scope [1], TraceCompass. For you use case you do NOT need the "live" feature. [1] https://lttng.org/beta/ > > -----Message d'origine----- > De : Jonathan Rajotte-Julien [mailto:jonathan.rajotte-julien@efficios.com] > Envoyé : mardi 12 juin 2018 19:04 > À : BADEUIL Thierry > Cc : lttng-dev > Objet : Re: [lttng-dev] Trace Compass in live session > > Hi Thierry, > > Glad you got the base setup working. > > Please reply to the other thread indicating what was necessary to make it work > on your end. This might be useful for other people in the future. > > Now my question is what is the end goal of using the live streaming mode. Is it > really necessary? > What are you trying to achieve overall? > Are you trying to debug a certain scenario on you platform that can be > reproduced easily? > Are you simply checking out how LTTng works? > > Please provide more context so we can help you. > > See more inline. > > ----- Original Message ----- >> From: "BADEUIL Thierry" <thierry.badeuil@thalesgroup.com> >> To: "lttng-dev" <lttng-dev@lists.lttng.org> >> Sent: Tuesday, June 12, 2018 12:29:22 PM >> Subject: [lttng-dev] Trace Compass in live session > >> Dear all, >> >> >> >> I have difficulties to use Babeltrace in live session and I would like to >> use Trace Compass. > > What problem are you hitting? > > TraceCompass does not support the live protocol. See [1] [2] for why. > > [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=486728 > [2] https://git.eclipse.org/r/#/c/69285/ > > [TB1] : Yes I know that but when the trace files are updated, TraceCompass did > not upated it even with F5. I do not understand why ! What do you mean by "trace files are updated"? Note that if the problem is on the TraceCompass side in the end, this is not the mailing list to discuss it. TraceCompass have its own mailing list/irc channel see http://tracecompass.org/#community for more details. >> My target activated LTTng with : >> >> - Lttng create test –live –set-url:’net://192.168.0.1:5342:5343’ > > This should be: lttng create test --set-url="net://192.168.0.1:5342:5343" --live > > [TB1] : both solution worked on my target. Is there any difference between the > two syntaxes ? Not sure how --set-url":" works since it does not on my machine but if it works on yours +1. > >> >> - Lttng enable-event sched_switch >> >> - Lttng start >> >> >> >> My host (@192.168.0.1) activated LTTng with : >> >> - Lttng-relayd –vv > > Since this seems to be working you can drop the verbose options (-vvv). > > [TB1] : OK ! > >> >> >> >> Everything seems to be OK because my host received bytes from my target >> during 1 minute. > > Does the event timestamps show a 1 minute difference on the console? Note that > even if you see events outputted to the console during > 1 minute does not necessarily means that a full minute of "events" is present > since there might be latency between a "lttng stop" and a > complete live reception. It take more time to serialize (in time) events than to > produce them. > > [TB1] : If I set 1 minute of timestamp, I can watch only 1 minute of events on > TraceCompass. I have got the same problem even I stopped or not lttng-relayd. > If I set 2 minutes, I can watch 2 minutes etc... What do you mean by "set 1 minute of timestamp"? > [TB1] : same probleme with lttng-relayd stopped or not. Remember that > TraceCompass is on a host and lttng session is on my target. The connection > between is via Ethernet. Yes this is pretty clear to me. We are talking of the same scenario. Please check out the diagram found here: https://lttng.org/docs/v2.10/#doc-plumbing The "Viewing System" here is NOT necessary since you will be conducting analysis "offline" from a trace gathered by the lttng-relayd process. Cheers _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <677249926.12256.1528891059352.JavaMail.zimbra@efficios.com>]
* Re: Trace Compass in live session [not found] ` <677249926.12256.1528891059352.JavaMail.zimbra@efficios.com> @ 2018-06-14 7:03 ` BADEUIL Thierry 0 siblings, 0 replies; 5+ messages in thread From: BADEUIL Thierry @ 2018-06-14 7:03 UTC (permalink / raw) To: Jonathan Rajotte-Julien; +Cc: lttng-dev [-- Attachment #1.1: Type: text/plain, Size: 5710 bytes --] Hello, Yes, it seems to work without --live option ! Thank you !! Thierry BADEUIL THALES COMMUNICATIONS T : +33 1 46 133 591 ( : +33 6 85 51 28 16 : thierry.badeuil@thalesgroup.com -----Message d'origine----- De : Jonathan Rajotte-Julien [mailto:jonathan.rajotte-julien@efficios.com] Envoyé : mercredi 13 juin 2018 13:58 À : BADEUIL Thierry Cc : lttng-dev Objet : Re: [lttng-dev] Trace Compass in live session Hi Thierry, ----- Original Message ----- > From: "BADEUIL Thierry" <thierry.badeuil@thalesgroup.com> > To: "Jonathan Rajotte-Julien" <jonathan.rajotte-julien@efficios.com> > Cc: "lttng-dev" <lttng-dev@lists.lttng.org> > Sent: Wednesday, June 13, 2018 3:48:44 AM > Subject: RE: [lttng-dev] Trace Compass in live session > Hi, > > The end of the goal is to debug and understand how 3 applications worked > together on my embedded processor. That is why I am using sched_switch option > of LTTng. I can be reproduced easily. I need to work in live session because I > do not have enough memory for the LTTng traces and I should need a lot of > memory. Well in that case let's remove the usage of the lttng-live feature. It is unnecessary here. What you need to do is to stream the session to lttng-relayd, reproduce your interaction, stop the session, validate that no events were dropped, read the session with LTTng Scope [1]/TraceCompass. On the embedded system: lttng create --set-url="net://192.168.0.1" (you can drop the port since they are the "default" ones) lttng enable-event -k 'sched_*' lttng start <do your thing here> lttng stop lttng destroy Once the "stop" command is issued, you can read the trace one the HOST using Babeltrace, LTTng Scope [1], TraceCompass. For you use case you do NOT need the "live" feature. [1] https://lttng.org/beta/ > > -----Message d'origine----- > De : Jonathan Rajotte-Julien [mailto:jonathan.rajotte-julien@efficios.com] > Envoyé : mardi 12 juin 2018 19:04 > À : BADEUIL Thierry > Cc : lttng-dev > Objet : Re: [lttng-dev] Trace Compass in live session > > Hi Thierry, > > Glad you got the base setup working. > > Please reply to the other thread indicating what was necessary to make it work > on your end. This might be useful for other people in the future. > > Now my question is what is the end goal of using the live streaming mode. Is it > really necessary? > What are you trying to achieve overall? > Are you trying to debug a certain scenario on you platform that can be > reproduced easily? > Are you simply checking out how LTTng works? > > Please provide more context so we can help you. > > See more inline. > > ----- Original Message ----- >> From: "BADEUIL Thierry" <thierry.badeuil@thalesgroup.com> >> To: "lttng-dev" <lttng-dev@lists.lttng.org> >> Sent: Tuesday, June 12, 2018 12:29:22 PM >> Subject: [lttng-dev] Trace Compass in live session > >> Dear all, >> >> >> >> I have difficulties to use Babeltrace in live session and I would like to >> use Trace Compass. > > What problem are you hitting? > > TraceCompass does not support the live protocol. See [1] [2] for why. > > [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=486728 > [2] https://git.eclipse.org/r/#/c/69285/ > > [TB1] : Yes I know that but when the trace files are updated, TraceCompass did > not upated it even with F5. I do not understand why ! What do you mean by "trace files are updated"? Note that if the problem is on the TraceCompass side in the end, this is not the mailing list to discuss it. TraceCompass have its own mailing list/irc channel see http://tracecompass.org/#community for more details. >> My target activated LTTng with : >> >> - Lttng create test –live –set-url:’net://192.168.0.1:5342:5343’ > > This should be: lttng create test --set-url="net://192.168.0.1:5342:5343" --live > > [TB1] : both solution worked on my target. Is there any difference between the > two syntaxes ? Not sure how --set-url":" works since it does not on my machine but if it works on yours +1. > >> >> - Lttng enable-event sched_switch >> >> - Lttng start >> >> >> >> My host (@192.168.0.1) activated LTTng with : >> >> - Lttng-relayd –vv > > Since this seems to be working you can drop the verbose options (-vvv). > > [TB1] : OK ! > >> >> >> >> Everything seems to be OK because my host received bytes from my target >> during 1 minute. > > Does the event timestamps show a 1 minute difference on the console? Note that > even if you see events outputted to the console during > 1 minute does not necessarily means that a full minute of "events" is present > since there might be latency between a "lttng stop" and a > complete live reception. It take more time to serialize (in time) events than to > produce them. > > [TB1] : If I set 1 minute of timestamp, I can watch only 1 minute of events on > TraceCompass. I have got the same problem even I stopped or not lttng-relayd. > If I set 2 minutes, I can watch 2 minutes etc... What do you mean by "set 1 minute of timestamp"? > [TB1] : same probleme with lttng-relayd stopped or not. Remember that > TraceCompass is on a host and lttng session is on my target. The connection > between is via Ethernet. Yes this is pretty clear to me. We are talking of the same scenario. Please check out the diagram found here: https://lttng.org/docs/v2.10/#doc-plumbing The "Viewing System" here is NOT necessary since you will be conducting analysis "offline" from a trace gathered by the lttng-relayd process. Cheers [-- Attachment #1.2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 7343 bytes --] [-- Attachment #2: Type: text/plain, Size: 156 bytes --] _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
* Trace Compass in live session @ 2018-06-12 16:29 BADEUIL Thierry 0 siblings, 0 replies; 5+ messages in thread From: BADEUIL Thierry @ 2018-06-12 16:29 UTC (permalink / raw) To: lttng-dev [-- Attachment #1.1.1: Type: text/plain, Size: 901 bytes --] Dear all, I have difficulties to use Babeltrace in live session and I would like to use Trace Compass. My target activated LTTng with : - Lttng create test live set-url:net://192.168.0.1:5342:5343 - Lttng enable-event sched_switch - Lttng start My host (@192.168.0.1) activated LTTng with : - Lttng-relayd vv Everything seems to be OK because my host received bytes from my target during 1 minute. I would like to see the traces in ~/lttng-traces with TraceCompass and I can only watch the first second of my recording. It is impossible to see after (I did a lot of refresh ). Why ? Regards Thierry BADEUIL THALES COMMUNICATIONS ( : +33 1 46 133 591 È : +33 6 85 51 28 16 * : <mailto:thierry.badeuil@fr.thalesgroup.com> thierry.badeuil@thalesgroup.com [-- Attachment #1.1.2: Type: text/html, Size: 11806 bytes --] [-- Attachment #1.2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 7343 bytes --] [-- Attachment #2: Type: text/plain, Size: 156 bytes --] _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-06-14 7:03 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <2588C50AE11CCC4B945875227E501190021891E993A3@THSONEA01CMS04P.one.grp> 2018-06-12 17:04 ` Trace Compass in live session Jonathan Rajotte-Julien [not found] ` <1650477991.11598.1528823042146.JavaMail.zimbra@efficios.com> 2018-06-13 7:48 ` BADEUIL Thierry [not found] ` <2588C50AE11CCC4B945875227E501190021891F34DA5@THSONEA01CMS04P.one.grp> 2018-06-13 11:57 ` Jonathan Rajotte-Julien [not found] ` <677249926.12256.1528891059352.JavaMail.zimbra@efficios.com> 2018-06-14 7:03 ` BADEUIL Thierry 2018-06-12 16:29 BADEUIL Thierry
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.