Add ctf_integer_bitfield_type
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 29 Apr 2016 22:53:20 +0000 (18:53 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 2 May 2016 16:38:58 +0000 (12:38 -0400)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/lttng-events-write.h

index 5db66eb70b3c04cb43504af9e421115927e01279..87741a17752ccc30ad0845abe9121a9149275003 100644 (file)
 #define ctf_integer(_type, _item, _src)                                \
        _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
 
+#undef ctf_integer_bitfield
+#define ctf_integer_bitfield(_type, _item, _src)                       \
+       _ctf_integer_ext(_type, _item, _src, __LITTLE_ENDIAN, 10, 0, 0)
+
 #undef ctf_integer_hex
 #define ctf_integer_hex(_type, _item, _src)                    \
        _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 16, 0, 0)
 #define ctf_integer_type(_type, _src)                                  \
        ctf_integer(_type, unused, _src)
 
+#undef ctf_integer_bitfield_type
+#define ctf_integer_bitfield_type(_type, _src)                         \
+       ctf_integer_bitfield(_type, unused, _src)
+
 #undef ctf_integer_hex_type
 #define ctf_integer_hex_type(_type, _src)                              \
        ctf_integer_hex(_type, unused, _src)
This page took 0.026774 seconds and 4 git commands to generate.