From: Mathieu Desnoyers Date: Sat, 17 Sep 2011 15:46:54 +0000 (-0400) Subject: Add __field_hex X-Git-Tag: v2.0-pre9~37 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6d20e0ae80b64714a2e768d9ef110e13c0b43c4a;p=lttng-modules.git Add __field_hex Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/lttng-events.h b/probes/lttng-events.h index f86bd39d..1d2def4c 100644 --- a/probes/lttng-events.h +++ b/probes/lttng-events.h @@ -111,6 +111,10 @@ void trace_##_name(void *__data); #define __field_ext(_type, _item, _filter_type) \ __field(_type, _item) +#undef __field_hex +#define __field_hex(_type, _item) \ + __field_full(_type, _item, __BYTE_ORDER, 16) + #undef __field_network #define __field_network(_type, _item) \ __field_full(_type, _item, __BIG_ENDIAN, 10)