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


Groups > linux.kernel > #1425310 > unrolled thread

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

Started bySteven Rostedt <rostedt@goodmis.org>
First post2016-06-17 18:30 +0200
Last post2016-06-17 18:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromSteven Rostedt <rostedt@goodmis.org>
Date2016-06-17 18:30 +0200
SubjectRe: [RFC PATCH 4/4] stm: Mark the functions of writing buffer with notrace
Message-ID<rL4OC-qf-23@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web