From 1dfded8d8359230f950f22732bf124dcaae5dd4d Mon Sep 17 00:00:00 2001 From: Pratik Patel Date: Wed, 5 Sep 2012 12:19:56 -0700 Subject: [PATCH] coresight: don't directly log printk to STM Since we can use ftrace event to also log printk to STM, remove direct logging of printk to STM. Change-Id: I903e2584b40565513342864827455f0a6cbf2260 Signed-off-by: Pratik Patel --- include/linux/coresight-stm.h | 1 - kernel/printk.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/include/linux/coresight-stm.h b/include/linux/coresight-stm.h index 2c3a3473989..9ff81f40027 100644 --- a/include/linux/coresight-stm.h +++ b/include/linux/coresight-stm.h @@ -19,7 +19,6 @@ enum { OST_ENTITY_TRACE_PRINTK = 0x02, OST_ENTITY_TRACE_MARKER = 0x04, OST_ENTITY_DEV_NODE = 0x08, - OST_ENTITY_PRINTK = 0x10, OST_ENTITY_ALL = 0x1F, }; diff --git a/kernel/printk.c b/kernel/printk.c index d72977beec5..da1470a9dcb 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -41,7 +41,6 @@ #include #include #include -#include #include @@ -963,8 +962,6 @@ asmlinkage int vprintk(const char *fmt, va_list args) } } - stm_log(OST_ENTITY_PRINTK, printk_buf, printed_len); - /* * Copy the output into log_buf. If the caller didn't provide * the appropriate log prefix, we insert them here