Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1425310

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

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 4/4] stm: Mark the functions of writing buffer with notrace
Date 2016-06-17 18:30 +0200
Message-ID <rL4OC-qf-23@gated-at.bofh.it> (permalink)
References <rFclP-7HG-3@gated-at.bofh.it> <rFclP-7HG-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

-- Steve

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC PATCH 4/4] stm: Mark the functions of writing buffer with  notrace Steven Rostedt <rostedt@goodmis.org> - 2016-06-17 18:30 +0200

csiph-web