diff options
author | Wang Nan <wangnan0@huawei.com> | 2014-07-15 02:40:20 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-07-18 23:47:04 +0200 |
commit | b972cc58ced01ba2cf1f67b36bcfbb3ed4fa706e (patch) | |
tree | 7821d8641b223789af28963090ab9d6f7a0d377d /kernel/trace/trace_functions_graph.c | |
parent | tracing: let user specify tracing_thresh after selecting function_graph (diff) | |
download | linux-b972cc58ced01ba2cf1f67b36bcfbb3ed4fa706e.tar.xz linux-b972cc58ced01ba2cf1f67b36bcfbb3ed4fa706e.zip |
ftrace: Do not copy old hash when resetting
Do not waste time copying the old hash if the hash is going to be
reset. Just allocate a new hash and free the old one, as that is
the same result as copying te old one and then resetting it.
Link: http://lkml.kernel.org/p/1405384820-48837-1-git-send-email-wangnan0@huawei.com
Signed-off-by: Wang Nan <wangnan0@huawei.com>
[ SDR: Removed unused ftrace_filter_reset() function ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions