Re: [for-next][PATCH 0/8] tracing: Clean up hash logic for set_graph_function

From: Namhyung Kim
Date: Fri Feb 03 2017 - 10:15:15 EST


On Fri, Feb 3, 2017 at 10:40 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
> for-next
>
> Head SHA1: 092adb1121aec9e0dfa2d07bc160ae60831f4798
>
>
> Steven Rostedt (VMware) (8):
> tracing: Add ftrace_hash_key() helper function
> ftrace: Create a slight optimization on searching the ftrace_hash
> ftrace: Replace (void *)1 with a meaningful macro name FTRACE_GRAPH_EMPTY
> ftrace: Reset fgd->hash in ftrace_graph_write()
> ftrace: Have set_graph_functions handle write with RDWR
> tracing: Reset parser->buffer to allow multiple "puts"
> ftrace: Do not hold references of ftrace_graph_{notrace_}hash out of graph_lock
> ftrace: Have set_graph_function handle multiple functions in one write
>
> ----
> kernel/trace/ftrace.c | 186 ++++++++++++++++++++++++++++++++++----------------
> kernel/trace/trace.c | 1 +
> 2 files changed, 129 insertions(+), 58 deletions(-)

For the whole series,

Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks for fixing and enhancing this,
Namhyung