1 #ifndef _LTT_MARKERS_FIELD_H
2 #define _LTT_MARKERS_FIELD_H
5 * Marker field support header.
7 * Mathieu Desnoyers, August 2007
15 LTT_TYPE_UNSIGNED_INT
,
23 * Fields "offset" and "size" below are only valid while the event is being
24 * read. They are also being shared with events of the same type coming from
25 * other per-cpu tracefiles. Therefore, the "LttEvent" fields_offsets offset and
26 * size should be used rather than these.
31 unsigned int index
; /* Field index within the event */
32 unsigned long _offset
; /* offset in the event data, USED ONLY INTERNALLY BY LIB */
33 unsigned long _size
; /* size of field. USED ONLY INTERNALLY BY LIB */
34 unsigned long alignment
;
35 unsigned long attributes
;
36 int static_offset
; /* boolean - private - is the field offset statically
37 * known with the preceding types ? */
41 static inline GQuark
marker_field_get_name(struct marker_field
*field
)
46 static inline enum ltt_type
marker_field_get_type(struct marker_field
*field
)
52 * Returns 0 if size is not known statically.
54 static inline long marker_field_get_size(struct marker_field
*field
)
59 static inline unsigned int marker_field_get_index(struct marker_field
*field
)
64 #endif //_LTT_MARKERS_FIELD_H
This page took 0.087409 seconds and 4 git commands to generate.