Skip to content

ftrace: Add support to set_graph_notrace filter (v2)

Namhyung Kim lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ftrace: Get rid of ftrace_graph_filter_enabledkernel/trace/ftrace.c kernel/trace/trace.h+2 -70 replies
2/4ftrace: Introduce struct ftrace_graph_datakernel/trace/ftrace.c+62 -190 replies
3/4ftrace: Narrow down the protected area of graph_lockkernel/trace/ftrace.c+9 -130 replies
4/4ftrace: Add set_graph_notrace filterinclude/linux/ftrace.h kernel/trace/ftrace.c kernel/trace/trace.h +1 more+109 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET 0/4] ftrace: Add support to set_graph_notrace filter (v2)

Hi Steve,

I broke the patch into pieces so that it can address what you said. The patch 1 and 2 are cleanup and preparation you mentioned. Patch 3 is an one more cleanup I found during the work. Patch 4 is core of this patchset and main diferrence to prior version is added comments.

This is based on the current linux-trace/for-next.

I also put this on 'ftrace/nograph-v2' branch in my tree

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Any comments are welcome, thanks.
Namhyung

Namhyung Kim (4):
ftrace: Get rid of ftrace_graph_filter_enabled
ftrace: Introduce struct ftrace_graph_data
ftrace: Narrow down the protected area of graph_lock
ftrace: Add set_graph_notrace filter

 include/linux/ftrace.h               |   1 +
 kernel/trace/ftrace.c                | 140 ++++++++++++++++++++++++++---------
 kernel/trace/trace.h                 |  25 ++++++-
 kernel/trace/trace_functions_graph.c |  56 +++++++++++++-
 4 files changed, 181 insertions(+), 41 deletions(-)
Signature · 1 line
1.7.11.7