ftrace: Factor out __ftrace_hash_move()
authorNamhyung Kim <namhyung@kernel.org>
Fri, 20 Jan 2017 02:44:45 +0000 (11:44 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 20 Jan 2017 16:40:07 +0000 (11:40 -0500)
commit3e278c0dc1cf5070d9462ececde1c07369b469b2
tree743be2f4e78bfed8b2e72220ecb1ad7c36c13e07
parent068f530b3f274d313395663bf8d674798d4858c6
ftrace: Factor out __ftrace_hash_move()

The __ftrace_hash_move() is to allocates properly-sized hash and move
entries in the src ftrace_hash.  It will be used to set function graph
filters which has nothing to do with the dyn_ftrace records.

Link: http://lkml.kernel.org/r/20170120024447.26097-1-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c