All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH lttng-tools] Enable additional kernel probes
       [not found] <50A394DF.70607@mentor.com>
@ 2012-11-14 16:07 ` Mathieu Desnoyers
  2012-11-14 16:26 ` David Goulet
       [not found] ` <50A3C63E.5020307@efficios.com>
  2 siblings, 0 replies; 5+ messages in thread
From: Mathieu Desnoyers @ 2012-11-14 16:07 UTC (permalink / raw)
  To: Woegerer, Paul; +Cc: lttng-dev

* Woegerer, Paul (Paul_Woegerer@mentor.com) wrote:
> 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@mentor.com>
> Date: Wed, 14 Nov 2012 13:49:45 +0100
> Subject: [PATCH] Add additional kernel probes to module list.

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

> 
> ---
>  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 },
>  };
>  
>  /*
> -- 
> 1.7.10.4
> 
> 
> 
> -- 
> Paul Woegerer | SW Development Engineer
> http://go.mentor.com/sourceryanalyzer
> 
> Mentor Embedded(tm) | Prinz Eugen Straße 72/2/4, Vienna, 1040 Austria
> Nucleus® | Linux® | Android(tm) | Services | UI | Multi-OS
> 
> Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions.
> Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH lttng-tools] Enable additional kernel probes
       [not found] <50A394DF.70607@mentor.com>
  2012-11-14 16:07 ` [PATCH lttng-tools] Enable additional kernel probes Mathieu Desnoyers
@ 2012-11-14 16:26 ` David Goulet
       [not found] ` <50A3C63E.5020307@efficios.com>
  2 siblings, 0 replies; 5+ messages in thread
From: David Goulet @ 2012-11-14 16:26 UTC (permalink / raw)
  To: Woegerer, Paul; +Cc: lttng-dev

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@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 },
>  };
>  
>  /*

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH lttng-tools] Enable additional kernel probes
       [not found] ` <50A3C63E.5020307@efficios.com>
@ 2012-11-14 16:33   ` Yannick Brosseau
       [not found]   ` <50A3C7C0.4020107@gmail.com>
  1 sibling, 0 replies; 5+ messages in thread
From: Yannick Brosseau @ 2012-11-14 16:33 UTC (permalink / raw)
  To: lttng-dev

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH lttng-tools] Enable additional kernel probes
       [not found]   ` <50A3C7C0.4020107@gmail.com>
@ 2012-11-14 16:35     ` David Goulet
  0 siblings, 0 replies; 5+ messages in thread
From: David Goulet @ 2012-11-14 16:35 UTC (permalink / raw)
  To: Yannick Brosseau; +Cc: lttng-dev

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@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@lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH lttng-tools] Enable additional kernel probes
@ 2012-11-14 12:55 Woegerer, Paul
  0 siblings, 0 replies; 5+ messages in thread
From: Woegerer, Paul @ 2012-11-14 12:55 UTC (permalink / raw)
  To: mathieu.desnoyers; +Cc: lttng-dev

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@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 },
 };
 
 /*
-- 
1.7.10.4



-- 
Paul Woegerer | SW Development Engineer
http://go.mentor.com/sourceryanalyzer

Mentor Embedded(tm) | Prinz Eugen Straße 72/2/4, Vienna, 1040 Austria
Nucleus® | Linux® | Android(tm) | Services | UI | Multi-OS

Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-14 16:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <50A394DF.70607@mentor.com>
2012-11-14 16:07 ` [PATCH lttng-tools] Enable additional kernel probes Mathieu Desnoyers
2012-11-14 16:26 ` David Goulet
     [not found] ` <50A3C63E.5020307@efficios.com>
2012-11-14 16:33   ` Yannick Brosseau
     [not found]   ` <50A3C7C0.4020107@gmail.com>
2012-11-14 16:35     ` David Goulet
2012-11-14 12:55 Woegerer, Paul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.