[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160617122606.417cf5a0@gandalf.local.home>
Date: Fri, 17 Jun 2016 12:26:06 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Chunyan Zhang <zhang.chunyan@...aro.org>
Cc: mathieu.poirier@...aro.org, alexander.shishkin@...ux.intel.com,
mingo@...hat.com, mike.leach@....com, tor@...com,
maxime.coquelin@...com, philippe.langlais@...com,
nicolas.guion@...com, zhang.lyra@...il.com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [RFC PATCH 4/4] stm: Mark the functions of writing buffer with
notrace
On Wed, 1 Jun 2016 19:18:59 +0800
Chunyan Zhang <zhang.chunyan@...aro.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@...aro.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@...dmis.org>
-- Steve
Powered by blists - more mailing lists