aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-10-28 05:37:01 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-29 03:53:20 -0400
commit3ed67776fc23061180896086a206a02be649dd26 (patch)
treeef9e0a8ced78ee7c70795070ca0efa2a2b90aa39 /kernel/trace
parent66bd8424cc05e800db384053bf7ab967e4658468 (diff)
tracing/filters: Fix to make system filter work
commit fce29d15b59245597f7f320db4a9f2be0f5fb512 ("tracing/filters: Refactor subsystem filter code") broke system filter accidentally. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <4AE810BD.3070009@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace_events_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_events_filter.c b/kernel/trace/trace_events_filter.c
index 21d34757b955..50504cb228de 100644
--- a/kernel/trace/trace_events_filter.c
+++ b/kernel/trace/trace_events_filter.c
@@ -1230,12 +1230,12 @@ static int replace_system_preds(struct event_subsystem *system,
1230 struct filter_parse_state *ps, 1230 struct filter_parse_state *ps,
1231 char *filter_string) 1231 char *filter_string)
1232{ 1232{
1233 struct event_filter *filter = system->filter;
1234 struct ftrace_event_call *call; 1233 struct ftrace_event_call *call;
1235 bool fail = true; 1234 bool fail = true;
1236 int err; 1235 int err;
1237 1236
1238 list_for_each_entry(call, &ftrace_events, list) { 1237 list_for_each_entry(call, &ftrace_events, list) {
1238 struct event_filter *filter = call->filter;
1239 1239
1240 if (!call->define_fields) 1240 if (!call->define_fields)
1241 continue; 1241 continue;