All of lore.kernel.org
 help / color / mirror / Atom feed
From: BADEUIL Thierry <thierry.badeuil@thalesgroup.com>
To: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Cc: lttng-dev <lttng-dev@lists.lttng.org>
Subject: Re: Trace Compass in live session
Date: Wed, 13 Jun 2018 09:48:44 +0200	[thread overview]
Message-ID: <2588C50AE11CCC4B945875227E501190021891F34DA5__45232.0829885595$1528876019$gmane$org@THSONEA01CMS04P.one.grp> (raw)
In-Reply-To: <1650477991.11598.1528823042146.JavaMail.zimbra@efficios.com>


[-- 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

  parent reply	other threads:[~2018-06-13  7:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
     [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

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='2588C50AE11CCC4B945875227E501190021891F34DA5__45232.0829885595$1528876019$gmane$org@THSONEA01CMS04P.one.grp' \
    --to=thierry.badeuil@thalesgroup.com \
    --cc=jonathan.rajotte-julien@efficios.com \
    --cc=lttng-dev@lists.lttng.org \
    /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 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.