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

Steven Rostedt rostedt at goodmis.org
Fri Jun 17 09:26:06 PDT 2016


On Wed,  1 Jun 2016 19:18:59 +0800
Chunyan Zhang <zhang.chunyan at linaro.org> 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 <zhang.chunyan at linaro.org>
> ---
>  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 at goodmis.org>

-- Steve



More information about the linux-arm-kernel mailing list