Fix: asoc instrumentation for RHEL 7.3
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 7 Dec 2016 19:17:33 +0000 (14:17 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Dec 2016 01:21:25 +0000 (20:21 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/asoc.h

index 09e1fe272e8e1b92fc70f5cd83bf11b8efbf575c..25136ec09d671e16ecc7bd6b57d8d0c35f089f45 100644 (file)
@@ -21,7 +21,8 @@ struct snd_soc_card;
 struct snd_soc_dapm_widget;
 #endif
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0) \
+       || LTTNG_RHEL_KERNEL_RANGE(3,10,0,514,0,0, 3,11,0,0,0,0))
 #define CODEC_NAME_FIELD component.name
 #define CODEC_ID_FIELD component.id
 #else
This page took 0.025904 seconds and 4 git commands to generate.