Thread (18 messages) read the whole thread 18 messages, 3 authors, 2016-06-20

[RFC PATCH 4/4] stm: Mark the functions of writing buffer with notrace

From: rostedt@goodmis.org (Steven Rostedt)
Date: 2016-06-17 16:26:13
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help