Skip to contentSkip to conversation

using a custom channel

DISCUSSION Jérémie Galarneau 1 participant 2 messages May 30, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

Quoted 19 lines · Stéphane ANCELOT

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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
#2 lore raw
In reply to a message not in the archive

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

Quoted 19 lines · Stéphane ANCELOT

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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com