diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2009-03-24 03:14:31 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-24 03:26:52 -0400 |
commit | 4bda2d517bfa3ce3d7044e06988cdddae7adffe2 (patch) | |
tree | 62d99deb281a0395942b462f7cff2d2b42f2d905 /kernel/trace/trace.h | |
parent | 09f1f245c79585383de63e3ca54d0f91824bff3a (diff) |
tracing/filters: use trace_seq_printf() to print filters
Impact: cleanup
Instead of just using the trace_seq buffer to print the filters, use
trace_seq_printf() as it was intended to be used.
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1237878871.8339.59.camel@charm-linux>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 54fd9bcd0a65..90a848debcba 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -840,7 +840,8 @@ struct filter_pred { | |||
840 | int trace_define_field(struct ftrace_event_call *call, char *type, | 840 | int trace_define_field(struct ftrace_event_call *call, char *type, |
841 | char *name, int offset, int size); | 841 | char *name, int offset, int size); |
842 | extern void filter_free_pred(struct filter_pred *pred); | 842 | extern void filter_free_pred(struct filter_pred *pred); |
843 | extern int filter_print_preds(struct filter_pred **preds, char *buf); | 843 | extern void filter_print_preds(struct filter_pred **preds, |
844 | struct trace_seq *s); | ||
844 | extern int filter_parse(char **pbuf, struct filter_pred *pred); | 845 | extern int filter_parse(char **pbuf, struct filter_pred *pred); |
845 | extern int filter_add_pred(struct ftrace_event_call *call, | 846 | extern int filter_add_pred(struct ftrace_event_call *call, |
846 | struct filter_pred *pred); | 847 | struct filter_pred *pred); |