aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/trace_events_stage_1.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_1.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_1.h')
-rw-r--r--kernel/trace/trace_events_stage_1.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/trace/trace_events_stage_1.h b/kernel/trace/trace_events_stage_1.h
index 82f68443c55..38985f9b379 100644
--- a/kernel/trace/trace_events_stage_1.h
+++ b/kernel/trace/trace_events_stage_1.h
@@ -6,11 +6,13 @@
* struct ftrace_raw_<call> {
* struct trace_entry ent;
* <type> <item>;
+ * <type2> <item2>[<len>];
* [...]
* };
*
- * The <type> <item> is created by the TRACE_FIELD(type, item, assign)
- * macro. We simply do "type item;", and that will create the fields
+ * The <type> <item> is created by the __field(type, item) macro or
+ * the __array(type2, item2, len) macro.
+ * We simply do "type item;", and that will create the fields
* in the structure.
*/