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(-) -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/