X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2FKbuild;h=cac27e722c04769f937a6d3264920b976c64ac0d;hb=e0a2e22c312f1f783c98e746b5f935feae4bb0fd;hp=fe869d050d403fd582ed96a88175d14f0e76a66f;hpb=6fddace8d3387e9c95d1f9a1c1454cf38a89f736;p=lttng-modules.git diff --git a/probes/Kbuild b/probes/Kbuild index fe869d05..cac27e72 100644 --- a/probes/Kbuild +++ b/probes/Kbuild @@ -258,22 +258,4 @@ ifneq ($(CONFIG_KRETPROBES),) obj-$(CONFIG_LTTNG) += lttng-kretprobes.o endif # CONFIG_KRETPROBES -ifneq ($(CONFIG_DYNAMIC_FTRACE),) - ftrace_dep = $(srctree)/kernel/trace/trace.h - ftrace_dep_check = $(wildcard $(ftrace_dep)) - ftrace = $(shell \ - if [ $(VERSION) -ge 5 -o \( $(VERSION) -eq 4 -a $(PATCHLEVEL) -ge 12 \) ] ; then \ - if [ -z "$(ftrace_dep_check)" ] ; then \ - echo "warn" ; \ - exit ; \ - fi; \ - echo "lttng-ftrace.o" ; \ - fi;) - ifeq ($(ftrace),warn) - $(warning Files $(ftrace_dep) not found. Probe "ftrace" is disabled. Use full kernel source tree to enable it.) - ftrace = - endif # $(ftrace),warn - obj-$(CONFIG_LTTNG) += $(ftrace) -endif # CONFIG_DYNAMIC_FTRACE - # vim:syntax=make