Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Listing live sessions after a session is destroyed
@ 2014-10-29 21:39 Marc-André Laperle
  2014-10-30 18:41 ` Jérémie Galarneau
  0 siblings, 1 reply; 3+ messages in thread
From: Marc-André Laperle @ 2014-10-29 21:39 UTC (permalink / raw)


I have a viewer connected to relayd and attached to a session named "live". The session is started then destroyed. Then I list the sessions using the same viewer and it returns the destroyed session. If I try to attach to it, it returns a status LTTNG_VIEWER_ATTACH_ALREADY. I think this session should not be listed or there should be a status that indicates that the session doesn't exist anymore. Or is it expected that I create a new viewer before listing the sessions again?

Thank you for the help!
Marc-Andre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20141029/5de9bbda/attachment.html>


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

* [lttng-dev] Listing live sessions after a session is destroyed
  2014-10-29 21:39 [lttng-dev] Listing live sessions after a session is destroyed Marc-André Laperle
@ 2014-10-30 18:41 ` Jérémie Galarneau
  2014-10-31 14:47   ` Marc-André Laperle
  0 siblings, 1 reply; 3+ messages in thread
From: Jérémie Galarneau @ 2014-10-30 18:41 UTC (permalink / raw)


On Wed, Oct 29, 2014 at 5:39 PM, Marc-Andr? Laperle
<marc-andre.laperle at ericsson.com> wrote:
> I have a viewer connected to relayd and attached to a session named "live".
> The session is started then destroyed. Then I list the sessions using the
> same viewer and it returns the destroyed session. If I try to attach to it,
> it returns a status LTTNG_VIEWER_ATTACH_ALREADY. I think this session should
> not be listed or there should be a status that indicates that the session

Hi Marc-Andr?,

That does look like a bug. Would you mind opening a bug on
bugs.lttng.org describing the steps you take along with the babeltrace
(assuming this is the viewer you are using) and relayd verbose logs?
(launch both with -vvv)

> doesn't exist anymore. Or is it expected that I create a new viewer before
> listing the sessions again?

What do you mean by "creating a new viewer"?

Regards,
J?r?mie

>
> Thank you for the help!
> Marc-Andre
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



-- 
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com



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

* [lttng-dev] Listing live sessions after a session is destroyed
  2014-10-30 18:41 ` Jérémie Galarneau
@ 2014-10-31 14:47   ` Marc-André Laperle
  0 siblings, 0 replies; 3+ messages in thread
From: Marc-André Laperle @ 2014-10-31 14:47 UTC (permalink / raw)


Hi J?r?mie,

Thank you for your response. I am seeing this problem with a different viewer than babeltrace that we are implementing in Trace Compass. I filled a bug here:
http://bugs.lttng.org/issues/853

> What do you mean by "creating a new viewer"?

I meant opening a new connection to relayd which will create a new "viewer" from relayd's perspective.

Thank you,
Marc-Andr?

________________________________________
From: jeremie.galarneau@gmail.com [jeremie.galarneau@gmail.com] on behalf of J?r?mie Galarneau [jeremie.galarneau@efficios.com]
Sent: Thursday, 30 October 2014 2:41 PM
To: Marc-Andr? Laperle
Cc: lttng-dev at lists.lttng.org
Subject: Re: [lttng-dev] Listing live sessions after a session is destroyed

On Wed, Oct 29, 2014 at 5:39 PM, Marc-Andr? Laperle
<marc-andre.laperle at ericsson.com> wrote:
> I have a viewer connected to relayd and attached to a session named "live".
> The session is started then destroyed. Then I list the sessions using the
> same viewer and it returns the destroyed session. If I try to attach to it,
> it returns a status LTTNG_VIEWER_ATTACH_ALREADY. I think this session should
> not be listed or there should be a status that indicates that the session

Hi Marc-Andr?,

That does look like a bug. Would you mind opening a bug on
bugs.lttng.org describing the steps you take along with the babeltrace
(assuming this is the viewer you are using) and relayd verbose logs?
(launch both with -vvv)

> doesn't exist anymore. Or is it expected that I create a new viewer before
> listing the sessions again?

What do you mean by "creating a new viewer"?

Regards,
J?r?mie

>
> Thank you for the help!
> Marc-Andre
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



--
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com



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

end of thread, other threads:[~2014-10-31 14:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-29 21:39 [lttng-dev] Listing live sessions after a session is destroyed Marc-André Laperle
2014-10-30 18:41 ` Jérémie Galarneau
2014-10-31 14:47   ` Marc-André Laperle

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