ftrace: Make ftrace_hash_rec_enable return update bool
authorJiri Olsa <jolsa@kernel.org>
Wed, 16 Mar 2016 14:34:32 +0000 (15:34 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 18 Mar 2016 14:30:15 +0000 (10:30 -0400)
commit84b6d3e6149c5280bc18b42e2f12efdaf354e49c
treed0356e34860bafc73f580eacb7419c34630c0f8e
parent1cf8067b541884366b7db3a328342073fed2f38f
ftrace: Make ftrace_hash_rec_enable return update bool

Change __ftrace_hash_rec_update to return true in case
we need to update dynamic ftrace call records. It return
false in case no update is needed.

Link: http://lkml.kernel.org/r/1458138873-1553-5-git-send-email-jolsa@kernel.org
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c