]> Pileus Git - ~andy/linux/blobdiff - include/linux/ftrace_event.h
tracing: Add a helper function for event print functions
[~andy/linux] / include / linux / ftrace_event.h
index fd28c170c597797bcb23e5d8217f78f1e85f809b..4d79d2dc189ce3eef8c674831f802e77be5e1d57 100644 (file)
@@ -38,6 +38,12 @@ const char *ftrace_print_symbols_seq_u64(struct trace_seq *p,
 const char *ftrace_print_hex_seq(struct trace_seq *p,
                                 const unsigned char *buf, int len);
 
+struct trace_iterator;
+struct trace_event;
+
+int ftrace_raw_output_prep(struct trace_iterator *iter,
+                          struct trace_event *event);
+
 /*
  * The trace entry - the most basic unit of tracing. This is what
  * is printed in the end as a single line in the trace output, such as:
@@ -95,8 +101,6 @@ enum trace_iter_flags {
 };
 
 
-struct trace_event;
-
 typedef enum print_line_t (*trace_print_func)(struct trace_iterator *iter,
                                      int flags, struct trace_event *event);