[lttng-dev] [PATCH lttng-tools] Enable additional kernel probes
Woegerer, Paul
Paul_Woegerer at mentor.com
Wed Nov 14 07:55:59 EST 2012
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 },
};
/*
--
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.
More information about the lttng-dev
mailing list