From: Michael Jeanson Date: Wed, 25 Jan 2017 20:26:47 +0000 (-0500) Subject: Documentation: lttng-modules 2.8 supports Linux < 4.10 X-Git-Tag: v2.8.5~18 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=95323106a0d5358fa13633d1ceffec44f1a241c2 Documentation: lttng-modules 2.8 supports Linux < 4.10 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile b/Makefile index 8602649a..93ad9e7d 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 93e2dd35..d3a643b9 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