Skip to contentSkip to conversation

lttng-modules how to automatically load my lttng_probe_xxx module

DISCUSSION Woegerer, Paul 2 participants 2 messages Jul 9, 2014 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 7 lines · Martin Townsend

Hi,

Using the instructions from
http://lists.lttng.org/pipermail/lttng-dev/2013-October/021540.html
I have added my own kernel module to lttng-modules and can successfully trace my own custom events. I have to manually modprobe lttng_probe_xxx to get it to work though. Is there a way of doing this automatically?

AFAIK, currently you still also need to add your module to:
http://git.lttng.org/?p=lttng-tools.git;a=blob;f=src/bin/lttng-sessiond/modprobe.c;hb=HEAD

HTH,
Paul

Quoted 9 lines

Best Regards,
Martin.

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Paul Woegerer, SW Development Engineer
Sourcery Analyzer <http://go.mentor.com/sourceryanalyzer>
Mentor Graphics, Embedded Software Division
#3 lore raw
In reply to a message not in the archive

Thanks Paul, that's exactly what I was looking for.

-Martin

Quoted 23 lines · Paul
Quoted 7 lines · Martin Townsend

Hi,

Using the instructions from
http://lists.lttng.org/pipermail/lttng-dev/2013-October/021540.html
I have added my own kernel module to lttng-modules and can successfully trace my own custom events. I have to manually modprobe lttng_probe_xxx to get it to work though. Is there a way of doing this automatically?

AFAIK, currently you still also need to add your module to:
http://git.lttng.org/?p=lttng-tools.git;a=blob;f=src/bin/lttng-sessiond/modprobe.c;hb=HEAD

HTH,
Paul

Quoted 8 lines

Best Regards,
Martin.

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev