From: Michael Jeanson Date: Tue, 23 Jan 2018 21:03:24 +0000 (-0500) Subject: Fix: update block instrumentation for SuSE 4.4.73-5 X-Git-Tag: v2.11.0-rc1~80 X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=d5e97fbf73d2d7376190153e328636713778658c Fix: update block instrumentation for SuSE 4.4.73-5 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/block.h b/instrumentation/events/lttng-module/block.h index 7692ccb6..562087bf 100644 --- a/instrumentation/events/lttng-module/block.h +++ b/instrumentation/events/lttng-module/block.h @@ -33,7 +33,8 @@ enum { #endif /* _TRACE_BLOCK_DEF_ */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,8,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,8,0) || \ + LTTNG_SLE_KERNEL_RANGE(4,4,73,5,0,0, 4,5,0,0,0,0)) #define lttng_req_op(rq) req_op(rq) #define lttng_req_rw(rq) ((rq)->cmd_flags)