Documentation: lttng-modules 2.8 supports Linux < 4.10
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 25 Jan 2017 20:26:47 +0000 (15:26 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Feb 2017 21:47:31 +0000 (16:47 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile
README.md

index 8602649a0d3b3890e30920c8437003e9a3fb82e0..93ad9e7ddf736b9cf4af498eddc1bf574af94287 100644 (file)
--- 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)
index 93e2dd350748d100f09e51fcc12742f0464f1dde..d3a643b989df13624333e492a432d216f033c276 100644 (file)
--- 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
This page took 0.027049 seconds and 4 git commands to generate.