[lttng-dev] multiple tracing sessions using relayd

Jérémie Galarneau jeremie.galarneau at efficios.com
Thu Nov 13 14:35:37 EST 2014


On Thu, Nov 13, 2014 at 8:57 AM, Anand Neeli <anand.neeli at gmail.com> wrote:
> Thanks for the info Daniel,
>
> Jérémie,
> Have you tried multi-session with relayd on 2.4.1?
> Also can you please give me the config you used for this?
>

I have not tried yet. I'll get back to you soon.

> For some reason my console is stuck when i try to enable channel for second
> session.
>
> Can same user run multiple session daemons? how does a channel get
> associated with a particular sessiond (if a user can run multiple sessiond)
>

A user should not run multiple session daemons (as in, under the same
UID). I contributed a patch to ensure this by using a lock file for
the 2.5 release.

Regards,
Jérémie

> Thanks,
> Anand Neeli
>
> On Wed, Nov 12, 2014 at 8:13 PM, Thibault, Daniel
> <Daniel.Thibault at drdc-rddc.gc.ca> wrote:
>>
>> > Date: Mon, 10 Nov 2014 13:02:58 -0500
>> > From: J?r?mie Galarneau <jeremie.galarneau at efficios.com>
>> > To: Anand Neeli <anand.neeli at gmail.com>
>> >
>> > > I tried to create same without relayd and it works. Am i missing
>> > > anything here?
>> > >
>> > > Although in the above example i'm enabling same/all events in session1
>> > > and session2, but i think this should work and capture same events in
>> > > both the sessions.
>> >
>> > That's the expected behaviour.
>> >
>> > Jérémie
>>
>>    With one very important caveat: the copies of the events in each
>> session will most likely bear different timestamps.  That's because the
>> timestamps capture the moments at which the event data slots are reserved in
>> the consumer buffers.
>>
>> Daniel U. Thibault
>> Protection des systèmes et contremesures (PSC) | Systems Protection &
>> Countermeasures (SPC)
>> Cyber sécurité pour les missions essentielles (CME) | Mission Critical
>> Cyber Security (MCCS)
>> RDDC - Centre de recherches de Valcartier | DRDC - Valcartier Research
>> Centre
>> 2459 route de la Bravoure
>> Québec QC  G3J 1X5
>> CANADA
>> Vox : (418) 844-4000 x4245
>> Fax : (418) 844-4538
>> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
>> Gouvernement du Canada | Government of Canada
>> <http://www.valcartier.drdc-rddc.gc.ca/>
>>  LinkedIn: <http://ca.linkedin.com/in/daniel-u-thibault/>
>>  Research Gate: <https://www.researchgate.net/profile/Daniel_Thibault/>
>
>
>
> _______________________________________________
> 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



More information about the lttng-dev mailing list