[lttng-dev] multiple tracing sessions using relayd
Anand Neeli
anand.neeli at gmail.com
Mon Nov 10 21:05:52 EST 2014
I'm using 2.4.1 version. And I'm trying to relay all the sessions.
If a user is creating multiple sessions, is it required to run multiple
session daemons ?
Can you please send me the config you have used.
Thanks
Anand Neeli
On 10 Nov 2014 23:32, "Jérémie Galarneau" <jeremie.galarneau at efficios.com>
wrote:
> On Sat, Nov 8, 2014 at 1:31 PM, Anand Neeli <anand.neeli at gmail.com> wrote:
> > Hi,
> > i'm trying to create multiple tracing sessions which will relay to the
> same
> > relayd.
> > And i'm not able to create more than one session.
> > create channel of the second session hangs and doesn't give me the
> console
> > back.
> >
> > Here are the steps i followed
> > $> lttng-relayd -d -g mygrp
> >
> > $> /usr/bin/lttng-sessiond --consumerd32-path
> > /usr/lib/lttng/libexec/lttng-consumerd --consumerd32-libdir /usr/lib/
> > --consumerd64-path /usr/lib64/lttng/libexec/lttng-consumerd
> > --consumerd64-libdir /usr/lib64/ -b --no-kernel -g mygrp
> > Warning: No tracing group detected
> >
> > $> /usr/bin/lttng create mysession --live 1000000 -U net://128.0.0.4
> > Session mysession created.
> > Traces will be written in net://128.0.0.4
> > Live timer set to 1000000 usec
> >
> > $> /usr/bin/lttng enable-channel mychannel --userspace --buffers-pid -s
> > mysession --tracefile-size 8388608 --tracefile-count 8Warning: No tracing
> > group detected
> > Warning: No tracing group detected
> > UST channel mychannel enabled for session mysession
> >
> > $> /usr/bin/lttng enable-event --channel mychannel --userspace --all
> > --exclude 'ust_libc:*' -s mysession
> > All UST events excluding ust_libc:* are enabled in channel mychannel
> >
> > ==> With this first session is created. Now i'm trying to create another
> > session.
> >
> > $> /usr/bin/lttng create mysession2 --live 1000000 -U net://128.0.0.4
> > Session mysession2 created.
> > Traces will be written in net://128.0.0.4
> > Live timer set to 1000000 usec
> >
> > $> /usr/bin/lttng enable-channel mychannel2 --userspace --buffers-pid
> -s
> > mysession2 --tracefile-size 8388608 --tracefile-count 8
> >
> > ==>>>> Console is stuck here and the command never returns.
> >
>
> I can't reproduce this problem on master here. Which version are you using?
>
> >
> > 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 behavior.
>
> Regards,
> Jérémie
>
> > Please let me know the correct way to enable this.
> >
> > Thanks,
> > Anand Neeli
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20141111/40773151/attachment.html>
More information about the lttng-dev
mailing list