[lttng-dev] [PATCH lttng-tools] Enable additional kernel probes

David Goulet dgoulet at efficios.com
Wed Nov 14 11:35:26 EST 2012


Ideally, a configuration file would be the way to go but we don't have
one yet for the session daemon.

I can't say when it will be available...

Cheers!
David

Yannick Brosseau:
> Just wondering, would it be possible to have an autodetection mechanism
> to load all available probe module?
> 
> (or having a configuration file for this list?)
> 
> I'm thinking of the use case of people who would not want to load all
> modules or provide a custom probe module.
> 
> On 2012-11-14 11:26, David Goulet wrote:
>> Merged!
>>
>> Thanks
>> David
>>
>> Woegerer, Paul:
>>> To enable the extra kernel probes (see related thread: http://lists.lttng.org/pipermail/lttng-dev/2012-November/019046.html) the following patch is required for lttng-tools:
>>>
>>> From fbf7bdae4af6d082ce71bc0976628e5d24a515fc Mon Sep 17 00:00:00 2001
>>> From: Paul Woegerer <paul_woegerer at mentor.com>
>>> Date: Wed, 14 Nov 2012 13:49:45 +0100
>>> Subject: [PATCH] Add additional kernel probes to module list.
>>>
>>> ---
>>>  src/bin/lttng-sessiond/modprobe.c |   17 +++++++++++++++++
>>>  1 file changed, 17 insertions(+)
>>>
>>> diff --git a/src/bin/lttng-sessiond/modprobe.c b/src/bin/lttng-sessiond/modprobe.c
>>> index b3f2e57..f38d393 100644
>>> --- a/src/bin/lttng-sessiond/modprobe.c
>>> +++ b/src/bin/lttng-sessiond/modprobe.c
>>> @@ -44,13 +44,30 @@ const struct kern_modules_param kern_modules_list[] = {
>>>  	{ "lttng-ring-buffer-metadata-mmap-client", 1 },
>>>  	{ "lttng-probe-lttng", 1 },
>>>  	{ "lttng-types", 0 },
>>> +	{ "lttng-probe-asoc", 0 },
>>>  	{ "lttng-probe-block", 0 },
>>> +	{ "lttng-probe-ext3", 0 },
>>> +	{ "lttng-probe-gpio", 0 },
>>>  	{ "lttng-probe-irq", 0 },
>>> +	{ "lttng-probe-jbd", 0 },
>>> +	{ "lttng-probe-jbd2", 0 },
>>> +	{ "lttng-probe-kmem", 0 },
>>>  	{ "lttng-probe-kvm", 0 },
>>> +	{ "lttng-probe-lock", 0 },
>>> +	{ "lttng-probe-modules", 0 },
>>> +	{ "lttng-probe-napi", 0 },
>>> +	{ "lttng-probe-net", 0 },
>>> +	{ "lttng-probe-power", 0 },
>>> +	{ "lttng-probe-regulator", 0 },
>>>  	{ "lttng-probe-sched", 0 },
>>> +	{ "lttng-probe-scsi", 0 },
>>>  	{ "lttng-probe-signal", 0 },
>>> +	{ "lttng-probe-skb", 0 },
>>> +	{ "lttng-probe-sock", 0 },
>>>  	{ "lttng-probe-statedump", 0 },
>>>  	{ "lttng-probe-timer", 0 },
>>> +	{ "lttng-probe-udp", 0 },
>>> +	{ "lttng-probe-vmscan", 0 },
>>>  };
>>>  
>>>  /*
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



More information about the lttng-dev mailing list