From a30e08c8f7bfcce6101c552e7af19dd516acea9a Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 21 Nov 2022 12:01:13 -0500 Subject: [PATCH] Drop support for kernels < 4.4 from net instrumentation Change-Id: I0fdf030897f01eec18931e416a2cfe241c780795 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- include/instrumentation/events/net.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/instrumentation/events/net.h b/include/instrumentation/events/net.h index 93f47a33..d8fecd10 100644 --- a/include/instrumentation/events/net.h +++ b/include/instrumentation/events/net.h @@ -457,8 +457,6 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_template, TP_ARGS(skb) ) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,14,0)) - /* Trace events for the receive entry points */ LTTNG_TRACEPOINT_EVENT_CLASS(net_dev_receive_entry_template, @@ -526,8 +524,6 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_receive_entry_template, TP_ARGS(skb) ) -#endif /* kernel > 3.14 */ - #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,19,0)) LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_receive_entry_template, -- 2.34.1