diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2009-08-08 10:49:09 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-08 17:55:34 +0200 |
commit | 96b2de313b1e0e02aea80ee47df6a2b5cbdf8e13 (patch) | |
tree | f6d1a22d6ab587d346f642fe89db9d75401da57b /kernel/perf_counter.c | |
parent | bd3f02212d6a457267e0c9c02c426151c436d9d4 (diff) |
tracing/filters: Don't use pred on alloc failure
Dan Carpenter sent me a fix to prevent pred from being used if
it couldn't be allocated. I noticed the same problem also
existed for the create_pred() case and added a fix for that.
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <1249746549.6453.29.camel@tropicana>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_counter.c')
0 files changed, 0 insertions, 0 deletions