X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2FKbuild;h=cc1c0656e4ad2a7556aab9fac1fe87c65bc800aa;hb=8d2aec4fb598c65688062681a4302a59cfeb3b6f;hp=2f6c7c76828681cb6795354f4e084f9e3c6e75a2;hpb=c44f49680d9fd397cd5d822e38b5f31412d09bf1;p=lttng-modules.git diff --git a/probes/Kbuild b/probes/Kbuild index 2f6c7c76..cc1c0656 100644 --- a/probes/Kbuild +++ b/probes/Kbuild @@ -259,7 +259,11 @@ ifneq ($(CONFIG_KRETPROBES),) endif # CONFIG_KRETPROBES ifneq ($(CONFIG_DYNAMIC_FTRACE),) - obj-$(CONFIG_LTTNG) += lttng-ftrace.o + ifeq ($(have_ftrace_header),yes) + obj-$(CONFIG_LTTNG) += lttng-ftrace.o + else + $(warning Files $(ftrace_dep) not found. Probe "ftrace" is disabled. Use full kernel source tree to enable it.) + endif endif # CONFIG_DYNAMIC_FTRACE # vim:syntax=make