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 <dwilder@xxxxxxxxxx>
---
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?
probably should mention that also (along with relay & debugfs)....