diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-06-24 09:54:54 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-24 11:02:53 +0200 |
commit | d82d62444f87e5993af2fa82ed636b2206e052ea (patch) | |
tree | 701f28de7def6c58d80db72a462171cab013b514 /init | |
parent | 694ce0a544fba37a60025a6803ee6265be8a2a22 (diff) | |
download | linux-d82d62444f87e5993af2fa82ed636b2206e052ea.tar.bz2 |
ftrace: Fix t_hash_start()
When the output of set_ftrace_filter is larger than PAGE_SIZE,
t_hash_start() will be called the 2nd time, and then we start
from the head of a hlist, which is wrong and causes some entries
to be outputed twice.
The worse is, if the hlist is large enough, reading set_ftrace_filter
won't stop but in a dead loop.
Reviewed-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A41876E.2060407@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions