From 4b47125b633c671364cb4bcd6a4f9ad88b07d2da Mon Sep 17 00:00:00 2001
From: Luming Yu <luming.yu@intel.com>
Date: Fri, 29 Sep 2017 21:57:40 +0800
Subject: [PATCH v1 2/9] early pt: kconfig disable ftrace by default 

Recommend to disable ftrace for pt by default though pt
 works perfectly for tracing ftrace code

Signed-off-by: Luming Yu <luming.yu@intel.com>
---
 kernel/trace/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 434c840..d922c0f 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -122,7 +122,7 @@ if TRACING_SUPPORT
 
 menuconfig FTRACE
 	bool "Tracers"
-	default y if DEBUG_KERNEL
+	default y if DEBUG_KERNEL && !EARLY_PT
 	help
 	  Enable the kernel tracing infrastructure.
 
-- 
2.7.5

