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:
committed by
Iliyan Malchev
parent
3c58d68ce0
commit
1dfded8d83
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user