From 65244d5ab362a5ddc9147c9d0df54b4bb4fb574b Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Tue, 30 May 2017 09:36:31 -0400 Subject: [PATCH] Fix: Build ftrace probe on kernels prior to 4.12 Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers --- probes/Kbuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/probes/Kbuild b/probes/Kbuild index fe869d05..78bf3fb2 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.34.1