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.8.6~2 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=1982602637cc4f2eeca81d3dfea5fbaa7d319597;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 e04cb1ba..ac62e967 100644 --- a/probes/Kbuild +++ b/probes/Kbuild @@ -262,8 +262,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 =