[lttng-dev] [PATCH lttng-modules] Fix: Build ftrace probe on kernels prior to 4.12

Francis Deslauriers francis.deslauriers at efficios.com
Tue May 30 13:36:31 UTC 2017


Signed-off-by: Francis Deslauriers <francis.deslauriers at efficios.com>
---
 probes/Kbuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/probes/Kbuild b/probes/Kbuild
index fe869d0..78bf3fb 100644
--- a/probes/Kbuild
+++ b/probes/Kbuild
@@ -267,8 +267,9 @@ ifneq ($(CONFIG_DYNAMIC_FTRACE),)
         echo "warn" ; \
         exit ; \
       fi; \
-      echo "lttng-ftrace.o" ; \
-    fi;)
+    fi; \
+    echo "lttng-ftrace.o" ; \
+    )
   ifeq ($(ftrace),warn)
     $(warning Files $(ftrace_dep) not found. Probe "ftrace" is disabled. Use full kernel source tree to enable it.)
     ftrace =
-- 
2.7.4



More information about the lttng-dev mailing list