git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6508fa7
)
ftrace: Do not copy old hash when resetting
author
Wang Nan
<wangnan0@huawei.com>
Tue, 15 Jul 2014 00:40:20 +0000
(08:40 +0800)
committer
Steven Rostedt
<rostedt@goodmis.org>
Fri, 18 Jul 2014 21:47:04 +0000
(17:47 -0400)
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>
kernel/trace/ftrace.c
patch
|
blob
|
history
diff --cc
kernel/trace/ftrace.c
Simple merge