From 40a6bb2f712fc46dd983e6a2786c1cd4b61cbd72 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Tue, 12 May 2020 15:11:05 -0400 Subject: [PATCH] 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 --- include/lttng/events-reset.h | 6 ------ 1 file changed, 6 deletions(-) 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) -- 2.34.1