aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/trace_events_stage_3.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-10 13:12:58 -0400
committerSteven Rostedt <srostedt@redhat.com>2009-03-10 13:12:58 -0400
commit0e3d0f0566f3fcf664782f597070bbc669d78454 (patch)
tree11ce48020cc45e8e168c7bd89a88b55a6bbefaed /kernel/trace/trace_events_stage_3.h
parent823f9124fb2e33eeb624d139978a52089f8a02ae (diff)
tracing: update comments to match event code macros
Impact: clean up / comments The comments that described the ftrace macros to manipulate the TRACE_EVENT and TRACE_FORMAT macros no longer match the code. This patch updates them. Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace_events_stage_3.h')
-rw-r--r--kernel/trace/trace_events_stage_3.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/trace_events_stage_3.h b/kernel/trace/trace_events_stage_3.h
index d6de06b9201..6ee1de59f19 100644
--- a/kernel/trace/trace_events_stage_3.h
+++ b/kernel/trace/trace_events_stage_3.h
@@ -56,7 +56,8 @@
* return;
* entry = ring_buffer_event_data(event);
*
- * <tstruct>; <-- Here we assign the entries by the TRACE_FIELD.
+ * <assign>; <-- Here we assign the entries by the __field and
+ * __array macros.
*
* trace_current_buffer_unlock_commit(event, irq_flags, pc);
* }
@@ -96,11 +97,10 @@
* __attribute__((__aligned__(4)))
* __attribute__((section("_ftrace_events"))) event_<call> = {
* .name = "<call>",
+ * .system = "<system>",
+ * .raw_init = ftrace_raw_init_event_<call>,
* .regfunc = ftrace_reg_event_<call>,
* .unregfunc = ftrace_unreg_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>,
* }
*