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 <pratikp@codeaurora.org>
This commit is contained in:
Pratik Patel
2012-09-05 12:19:56 -07:00
committed by Iliyan Malchev
parent 3c58d68ce0
commit 1dfded8d83
2 changed files with 0 additions and 4 deletions

View File

@@ -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,
};

View File

@@ -41,7 +41,6 @@
#include <linux/cpu.h>
#include <linux/notifier.h>
#include <linux/rculist.h>
#include <linux/coresight-stm.h>
#include <asm/uaccess.h>
@@ -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