From: Mathieu Desnoyers Date: Mon, 3 Oct 2016 21:25:13 +0000 (-0400) Subject: Documentation: lttng-modules 2.7 supports Linux < 4.8 X-Git-Tag: v2.7.6~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=17e9b7422249cdeae24f4717ad4e198dad76d5a7;p=lttng-modules.git Documentation: lttng-modules 2.7 supports Linux < 4.8 Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile b/Makefile index 8b310059..731a3867 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,13 @@ $(error Duplicate version.h files found in $(lttng_check_linux_version) and $(lt endif endif +ifneq ($(shell \ + if [ $(VERSION) -ge 5 \ + -o \( $(VERSION) -eq 4 -a $(PATCHLEVEL) -ge 8 \) ] ; then \ + echo "true" ; fi;),) +$(warning You are entering uncharted territories adventurer! Proceed with utmost caution (also, lttng-modules 2.7 does not support Linux >= 4.8. You should upgrade to a newer lttng-modules version.)) +endif + include $(MAKEFILEDIR)/Makefile.ABI.workarounds obj-m += lttng-ring-buffer-client-discard.o diff --git a/README.md b/README.md index 9934d2ef..e0bda30c 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,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.8 are supported by LTTng modules 2.7. +Upgrade to a newer LTTng modules for more recent kernels. Notes