From: Francis Deslauriers Date: Tue, 12 May 2020 19:11:05 +0000 (-0400) Subject: Cleanup: remove unsupported `ctf_float()` macros X-Git-Tag: v2.13.0-rc1~216 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=40a6bb2f712fc46dd983e6a2786c1cd4b61cbd72 Cleanup: remove unsupported `ctf_float()` macros Tracing floats is not supported for the kernel tracer. Disallow building kernel probes with those fields, rather than silently ignoring them. Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: I1cf9751df96d2af3b54f725797bd20d7b05f2b38 --- diff --git a/include/lttng/events-reset.h b/include/lttng/events-reset.h index 64e76471..31c828dc 100644 --- a/include/lttng/events-reset.h +++ b/include/lttng/events-reset.h @@ -93,9 +93,6 @@ #undef ctf_integer_network_hex #define ctf_integer_network_hex(_type, _item, _src) -#undef ctf_float -#define ctf_float(_type, _item, _src) - #undef ctf_array #define ctf_array(_type, _item, _src, _length) @@ -154,9 +151,6 @@ #undef ctf_integer_nowrite #define ctf_integer_nowrite(_type, _item, _src) -#undef ctf_float_nowrite -#define ctf_float_nowrite(_type, _item, _src) - #undef ctf_array_nowrite #define ctf_array_nowrite(_type, _item, _src, _length)