tracing: add format file to describe event struct fields
[linux-2.6.git] / kernel / trace / trace_events_stage_3.h
index 2ab65e9..c62a4d2 100644 (file)
  *     .raw_init               = ftrace_raw_init_event_<call>,
  *     .raw_reg                = ftrace_raw_reg_event_<call>,
  *     .raw_unreg              = ftrace_raw_unreg_event_<call>,
+ *     .show_format            = ftrace_format_<call>,
  * }
  *
  */
@@ -230,4 +231,5 @@ __attribute__((section("_ftrace_events"))) event_##call = {         \
        .raw_init               = ftrace_raw_init_event_##call,         \
        .raw_reg                = ftrace_raw_reg_event_##call,          \
        .raw_unreg              = ftrace_raw_unreg_event_##call,        \
+       .show_format            = ftrace_format_##call,                 \
 }