Enable additional kernel probes
Mathieu Desnoyers
Acked-byQuoted 6 lines · * Woegerer, Paul ([email protected]) 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
fbf7bdae4af6d082ce71bc0976628e5d24a515fcMon Sep 17 00:00:00 2001
From: Paul Woegerer <[email protected]>
Date: Wed, 14 Nov 2012 13:49:45 +0100
Subject: [PATCH] Add additional kernel probes to module list.
Quoted 54 lines
--- src/bin/lttng-sessiond/modprobe.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)src/bin/lttng-sessiond/modprobe.c +17
-0@@ -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 }, };/* Signature · 13 lines
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.
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com
Merged!
Thanks
David
Woegerer, Paul:
Quoted 46 lines
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
fbf7bdae4af6d082ce71bc0976628e5d24a515fcMon Sep 17 00:00:00 2001
From: Paul Woegerer <[email protected]>
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(+)src/bin/lttng-sessiond/modprobe.c +17
-0@@ -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 }, };/*
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.
Quoted 56 lines · David Goulet
Merged!
Thanks
DavidWoegerer, Paul:
Quoted 36 lines
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
fbf7bdae4af6d082ce71bc0976628e5d24a515fcMon Sep 17 00:00:00 2001
From: Paul Woegerer <[email protected]>
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(+)src/bin/lttng-sessiond/modprobe.c +13
-0@@ -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 },src/bin/lttng-sessiond/modprobe.c const struct kern_modules_param kern_modules_list[] = { · line 73
Quoted 10 lines
src/bin/lttng-sessiond/modprobe.c +4
-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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/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:
Quoted 71 lines
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.
Quoted 51 lines · David Goulet
Merged!
Thanks
DavidWoegerer, Paul:
Quoted 45 lines
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
fbf7bdae4af6d082ce71bc0976628e5d24a515fcMon Sep 17 00:00:00 2001
From: Paul Woegerer <[email protected]>
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(+)src/bin/lttng-sessiond/modprobe.c +17
-0@@ -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 }, };Quoted 5 lines
src/bin/lttng-sessiond/modprobe.c const struct kern_modules_param kern_modules_list[] = { · line 73
Quoted 1 line
src/bin/lttng-sessiond/modprobe.c +0
-0/* _______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev