X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-events-write.h;h=19041e5d70d10cfbc0d1ce85b5a2f1019810a65a;hb=43803cf2bdfe205fe0e426f7e93507d722ba1feb;hp=dde883eae4dd10479d4e2cb75119d3f783bf565f;hpb=16690f835029eab8fa1e1185aeca86264653627c;p=lttng-modules.git diff --git a/probes/lttng-events-write.h b/probes/lttng-events-write.h index dde883ea..19041e5d 100644 --- a/probes/lttng-events-write.h +++ b/probes/lttng-events-write.h @@ -46,6 +46,10 @@ #define ctf_array_text(_type, _item, _src, _length) \ _ctf_array_encoded(_type, _item, _src, _length, UTF8, 0, 0) +#undef ctf_array_bitfield +#define ctf_array_bitfield(_type, _item, _src, _length) \ + _ctf_array_bitfield(_type, _item, _src, _length, 0, 0) + #undef ctf_sequence #define ctf_sequence(_type, _item, _src, _length_type, _src_length) \ _ctf_sequence_encoded(_type, _item, _src, \ @@ -66,6 +70,11 @@ _ctf_sequence_encoded(_type, _item, _src, \ _length_type, _src_length, UTF8, __BYTE_ORDER, 10, 0, 0) +#undef ctf_sequence_bitfield +#define ctf_sequence_bitfield(_type, _item, _src, _length_type, _src_length) \ + _ctf_sequence_bitfield(_type, _item, _src, \ + _length_type, _src_length, 0, 0) + #undef ctf_string #define ctf_string(_item, _src) \ _ctf_string(_item, _src, 0, 0) @@ -95,6 +104,10 @@ #define ctf_user_array_text(_type, _item, _src, _length) \ _ctf_array_encoded(_type, _item, _src, _length, UTF8, 1, 0) +#undef ctf_user_array_bitfield +#define ctf_user_array_bitfield(_type, _item, _src, _length) \ + _ctf_array_bitfield(_type, _item, _src, _length, 1, 0) + #undef ctf_user_sequence #define ctf_user_sequence(_type, _item, _src, _length_type, _src_length) \ _ctf_sequence_encoded(_type, _item, _src, \ @@ -110,6 +123,11 @@ _ctf_sequence_encoded(_type, _item, _src, \ _length_type, _src_length, UTF8, __BYTE_ORDER, 10, 1, 0) +#undef ctf_user_sequence_bitfield +#define ctf_user_sequence_bitfield(_type, _item, _src, _length_type, _src_length) \ + _ctf_sequence_bitfield(_type, _item, _src, \ + _length_type, _src_length, 1, 0) + #undef ctf_user_string #define ctf_user_string(_item, _src) \ _ctf_string(_item, _src, 1, 0)