[PATCH 2/4] tracing/events: make SAMPLE_TRACE_EVENTS default to n

From: Li Zefan
Date: Tue May 05 2009 - 22:31:50 EST


Normally a config should be default to n. This patch also makes the
sample module-only, like SAMPLE_MARKERS and SAMPLE_TRACEPOINTS.

[ Impact: don't build trace event sample by default ]

Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
---
samples/Kconfig | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/samples/Kconfig b/samples/Kconfig
index 93f41c0..b75d28c 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -20,9 +20,8 @@ config SAMPLE_TRACEPOINTS
This build tracepoints example modules.

config SAMPLE_TRACE_EVENTS
- tristate "Build trace_events examples"
- depends on EVENT_TRACING
- default m
+ tristate "Build trace_events examples -- loadable modules only"
+ depends on EVENT_TRACING && m
help
This build trace event example modules.

--
1.5.4.rc3


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/