On Wed, 1 Jun 2016 19:18:59 +0800
Chunyan Zhang [off-list ref] wrote:
If CONFIG_STM_FTRACE is selected, Function trace data would be
writen to STM buffer, all functions that related to writing data
packets to STM buffer should be marked 'notrace' to avoid being
traced by Ftrace, otherwise the program would stall into an endless loop.
Signed-off-by: Chunyan Zhang <redacted>
---
drivers/hwtracing/coresight/coresight-stm.c | 2 +-
drivers/hwtracing/intel_th/sth.c | 11 +++++++----
drivers/hwtracing/stm/core.c | 7 ++++---
drivers/hwtracing/stm/dummy_stm.c | 2 +-
include/linux/stm.h | 4 ++--
5 files changed, 15 insertions(+), 11 deletions(-)
Acked-by: Steven Rostedt <rostedt@goodmis.org>
-- Steve