[lttng-dev] [PATCH lttng-modules stable-2.8] Documentation: lttng-modules 2.8 supports Linux < 4.10

Michael Jeanson mjeanson at efficios.com
Wed Jan 25 20:26:47 UTC 2017


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



More information about the lttng-dev mailing list