Skip to content

tracing: Clean up hash logic for set_graph_function

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tracing: Add ftrace_hash_key() helper functionkernel/trace/ftrace.c+11 -100 replies
2/8ftrace: Create a slight optimization on searching the ftrace_hashkernel/trace/ftrace.c+25 -82 replies
3/8ftrace: Replace (void *)1 with a meaningful macro name FTRACE_GRAPH_EMPTYkernel/trace/ftrace.c+4 -20 replies
4/8ftrace: Reset fgd->hash in ftrace_graph_write()kernel/trace/ftrace.c+5 -22 replies
5/8ftrace: Have set_graph_functions handle write with RDWRkernel/trace/ftrace.c+6 -00 replies
6/8tracing: Reset parser->buffer to allow multiple "puts"kernel/trace/trace.c+1 -00 replies
7/8ftrace: Do not hold references of ftrace_graph_{notrace_}hash out of graph_lockkernel/trace/ftrace.c+23 -50 replies
8/8ftrace: Have set_graph_function handle multiple functions in one writekernel/trace/ftrace.c+64 -410 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNamhyung Kim
SeriesA-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)