From 95323106a0d5358fa13633d1ceffec44f1a241c2 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 25 Jan 2017 15:26:47 -0500 Subject: [PATCH] Documentation: lttng-modules 2.8 supports Linux < 4.10 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- Makefile | 7 +++++++ README.md | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.34.1