From: Francis Deslauriers Date: Tue, 30 May 2017 13:36:31 +0000 (-0400) Subject: Fix: Build ftrace probe on kernels prior to 4.12 X-Git-Tag: v2.9.3~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c45ab2e4da171db62a0c963ad3c8e8be6643bc1d;p=lttng-modules.git Fix: Build ftrace probe on kernels prior to 4.12 Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers --- 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 =