aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorTom Zanussi <tzanussi@gmail.com>2009-03-24 03:14:31 -0400
committerIngo Molnar <mingo@elte.hu>2009-03-24 03:26:52 -0400
commit4bda2d517bfa3ce3d7044e06988cdddae7adffe2 (patch)
tree62d99deb281a0395942b462f7cff2d2b42f2d905 /kernel/trace/trace.h
parent09f1f245c79585383de63e3ca54d0f91824bff3a (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.h3
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 {
840int trace_define_field(struct ftrace_event_call *call, char *type, 840int trace_define_field(struct ftrace_event_call *call, char *type,
841 char *name, int offset, int size); 841 char *name, int offset, int size);
842extern void filter_free_pred(struct filter_pred *pred); 842extern void filter_free_pred(struct filter_pred *pred);
843extern int filter_print_preds(struct filter_pred **preds, char *buf); 843extern void filter_print_preds(struct filter_pred **preds,
844 struct trace_seq *s);
844extern int filter_parse(char **pbuf, struct filter_pred *pred); 845extern int filter_parse(char **pbuf, struct filter_pred *pred);
845extern int filter_add_pred(struct ftrace_event_call *call, 846extern int filter_add_pred(struct ftrace_event_call *call,
846 struct filter_pred *pred); 847 struct filter_pred *pred);