]> git.lttng.org Git - lttng-modules.git/commitdiff
Fix build for RHEL 8.8 with linux 4.18.0-477.10.1+
authorKienan Stewart <kstewart@efficios.com>
Mon, 16 Oct 2023 14:10:09 +0000 (10:10 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 19 Oct 2023 15:44:07 +0000 (11:44 -0400)
4.18.0-477.10.1 introduces backports a change which updates the
`kfree_skb` trace event to the 3-argument version used in more recent
kernel versions.

Change-Id: I5a1071a59659b76e1499beae3388159ca8ced1f7
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/skb.h

index fdb0fc7b6a5e49eb2b709cf91d10bc5872f957b2..b52cf682310a7201c05bb86007f622833d82820a 100644 (file)
@@ -14,7 +14,8 @@
  * Tracepoint for free an sk_buff:
  */
 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0) \
-       || LTTNG_KERNEL_RANGE(5,15,58, 5,16,0))
+       || LTTNG_KERNEL_RANGE(5,15,58, 5,16,0) \
+       || LTTNG_RHEL_KERNEL_RANGE(4,18,0,477,10,1, 4,19,0,0,0,0))
 LTTNG_TRACEPOINT_ENUM(skb_drop_reason,
        TP_ENUM_VALUES(
                ctf_enum_value("NOT_SPECIFIED", SKB_DROP_REASON_NOT_SPECIFIED)
@@ -41,7 +42,8 @@ LTTNG_TRACEPOINT_ENUM(skb_drop_reason,
 
 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0) \
        || LTTNG_KERNEL_RANGE(5,15,58, 5,16,0) \
-       || LTTNG_RHEL_KERNEL_RANGE(5,14,0,70,0,0, 5,15,0,0,0,0))
+       || LTTNG_RHEL_KERNEL_RANGE(5,14,0,70,0,0, 5,15,0,0,0,0) \
+       || LTTNG_RHEL_KERNEL_RANGE(4,18,0,477,10,1, 4,19,0,0,0,0))
 LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb,
 
        skb_kfree,
This page took 0.03131 seconds and 4 git commands to generate.