X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-events-write.h;h=19041e5d70d10cfbc0d1ce85b5a2f1019810a65a;hb=refs%2Fheads%2Fstable-2.8;hp=aed0814bb2dc8afbe8cd3fb8dceaccdf4cff9374;hpb=af2a1fe5297bbbcb6ab5ba9a5275b3546c38ff10;p=lttng-modules.git diff --git a/probes/lttng-events-write.h b/probes/lttng-events-write.h index aed0814b..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, \ @@ -64,7 +68,12 @@ #undef ctf_sequence_text #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length) \ _ctf_sequence_encoded(_type, _item, _src, \ - _length_type, _src_length, UTF8, __BYTE_ORDER, 0, 0, 0) + _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) \ @@ -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, \ @@ -108,7 +121,12 @@ #undef ctf_user_sequence_text #define ctf_user_sequence_text(_type, _item, _src, _length_type, _src_length) \ _ctf_sequence_encoded(_type, _item, _src, \ - _length_type, _src_length, UTF8, __BYTE_ORDER, 0, 1, 0) + _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) \