[lttng-dev] [PATCH lttng-modules stable-2.8] Documentation: lttng-modules 2.8 supports Linux < 4.10
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Fri Feb 17 21:52:37 UTC 2017
Merged, sorry for the delay, the patch was hiding behind a
rather large RCU patchset from Paul McKenney in my inbox. ;)
----- On Jan 25, 2017, at 3:26 PM, Michael Jeanson mjeanson at efficios.com wrote:
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
> Makefile | 7 +++++++
> README.md | 3 ++-
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 8602649..93ad9e7 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -29,6 +29,13 @@ ifneq ($(KERNELRELEASE),)
> endif
> endif
>
> + ifneq ($(shell \
> + if [ $(VERSION) -ge 5 \
> + -o \( $(VERSION) -eq 4 -a $(PATCHLEVEL) -ge 10 \) ] ; then \
> + echo "true" ; fi;),)
> + $(warning You are entering uncharted territories adventurer! Proceed with
> utmost caution (also, lttng-modules 2.8 does not support Linux >= 4.10. You
> should upgrade to a newer lttng-modules version.))
> + endif
> +
> include $(TOP_LTTNG_MODULES_DIR)/Makefile.ABI.workarounds
>
> ccflags-y += -I$(TOP_LTTNG_MODULES_DIR)
> diff --git a/README.md b/README.md
> index 93e2dd3..d3a643b 100644
> --- a/README.md
> +++ b/README.md
> @@ -106,7 +106,8 @@ to print traces as a human-readable text log.
> Support
> -------
>
> -Linux kernels >= 2.6.36 are supported.
> +Linux kernels >= 2.6.36 and < 4.10 are supported by LTTng modules 2.8.
> +Upgrade to a newer LTTng modules for more recent kernels.
>
>
> Notes
> --
> 2.7.4
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list