Randy Dunlap wrote:
On Tue, 02 Oct 2007 09:33:25 -0700 David J. Wilder wrote:
Trace example - Adds the trace example to samples/
Signed-off-by: David Wilder <[email protected]>
---
samples/Kconfig | 6 ++
samples/Makefile | 1 +
samples/trace/Makefile | 4 +
samples/trace/fork_trace.c | 132 ++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 143 insertions(+), 0 deletions(-)
diff --git a/samples/Kconfig b/samples/Kconfig
index 57bb223..e11c806 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -13,4 +13,10 @@ config SAMPLE_MARKERS
help
This build markers example modules.
+config SAMPLE_TRACE
+ tristate "Build trace example -- loadable modules only"
+ depends on TRACE && m
The sample code uses kprobes, so this should also be:
depends on KPROBES
Is (are?) kprobes always needed for trace?
No, just the sample.
If so, the documentation
probably should mention that also (along with relay & debugfs).
...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]