diff options
Diffstat (limited to 'kernel/trace/trace_events.c')
-rw-r--r-- | kernel/trace/trace_events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 1137f951be42..64f9d6d2735b 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c | |||
@@ -488,7 +488,7 @@ event_filter_read(struct file *filp, char __user *ubuf, size_t cnt, | |||
488 | 488 | ||
489 | trace_seq_init(s); | 489 | trace_seq_init(s); |
490 | 490 | ||
491 | filter_print_preds(call->preds, call->n_preds, s); | 491 | filter_print_preds(call, s); |
492 | r = simple_read_from_buffer(ubuf, cnt, ppos, s->buffer, s->len); | 492 | r = simple_read_from_buffer(ubuf, cnt, ppos, s->buffer, s->len); |
493 | 493 | ||
494 | kfree(s); | 494 | kfree(s); |
@@ -558,7 +558,7 @@ subsystem_filter_read(struct file *filp, char __user *ubuf, size_t cnt, | |||
558 | 558 | ||
559 | trace_seq_init(s); | 559 | trace_seq_init(s); |
560 | 560 | ||
561 | filter_print_preds(system->preds, system->n_preds, s); | 561 | filter_print_subsystem_preds(system, s); |
562 | r = simple_read_from_buffer(ubuf, cnt, ppos, s->buffer, s->len); | 562 | r = simple_read_from_buffer(ubuf, cnt, ppos, s->buffer, s->len); |
563 | 563 | ||
564 | kfree(s); | 564 | kfree(s); |