aboutsummaryrefslogtreecommitdiffstats
path: root/samples/trace_events/trace-events-sample.h
diff options
context:
space:
mode:
Diffstat (limited to 'samples/trace_events/trace-events-sample.h')
-rw-r--r--samples/trace_events/trace-events-sample.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/trace_events/trace-events-sample.h b/samples/trace_events/trace-events-sample.h
index 6af373236d73..4b0113f73ee9 100644
--- a/samples/trace_events/trace-events-sample.h
+++ b/samples/trace_events/trace-events-sample.h
@@ -56,7 +56,8 @@
56 * struct: This defines the way the data will be stored in the ring buffer. 56 * struct: This defines the way the data will be stored in the ring buffer.
57 * There are currently two types of elements. __field and __array. 57 * There are currently two types of elements. __field and __array.
58 * a __field is broken up into (type, name). Where type can be any 58 * a __field is broken up into (type, name). Where type can be any
59 * type but an array. 59 * primitive type (integer, long or pointer). __field_struct() can
60 * be any static complex data value (struct, union, but not an array).
60 * For an array. there are three fields. (type, name, size). The 61 * For an array. there are three fields. (type, name, size). The
61 * type of elements in the array, the name of the field and the size 62 * type of elements in the array, the name of the field and the size
62 * of the array. 63 * of the array.