[lttng-dev] using a custom channel

Jérémie Galarneau jeremie.galarneau at efficios.com
Thu May 30 13:44:39 EDT 2013


Hi,

You have to create a new channel using

lttng --enable-channel MyNewChannel -k

and then enable the events you wish to collect in this channel.

lttng enable-event -k -a --channel MyNewChannel

Hopefully this answers your question,
Jérémie

On Tue, May 28, 2013 at 8:31 AM, Stéphane ANCELOT <sancelot at free.fr> wrote:
> Hi,
>
> I finally managed to create my trace events probes...
> I copied my .h header in instrumentation/event/lttng-module and create a
> lttng probe module
>
> but now, I would like to use other channels than channel0 , how to do this,
> I tried using xn_nucleus_blahblah as event name, but it has not helped , it
> is seen in channel0
>
> Regards,
> Steph
>
>
>
> _______________________________________________
> 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