[lttng-dev] [PATCH lttng-modules] Fix: asoc instrumentation for RHEL 7.3

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Dec 8 01:27:42 UTC 2016


Merged into master, 2.9, 2.8, thanks!

Mathieu

----- On Dec 7, 2016, at 2:17 PM, Michael Jeanson mjeanson at efficios.com wrote:

> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
> instrumentation/events/lttng-module/asoc.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/instrumentation/events/lttng-module/asoc.h
> b/instrumentation/events/lttng-module/asoc.h
> index 09e1fe2..25136ec 100644
> --- a/instrumentation/events/lttng-module/asoc.h
> +++ b/instrumentation/events/lttng-module/asoc.h
> @@ -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
> --
> 2.7.4

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list