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.11.0-rc1~120 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bc1fb1b8c9fe9170a540ef5e8e4ba4e10fd02019;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 =