X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2FMakefile;h=794a06993a8e0efac2a8147b6c3bf0fd8c1119ac;hb=09d8de2b842b6ead8822172adb56ae3ed4c1fdfa;hp=29e114c8994b92c17d51b543b4cdef7061c4ea1c;hpb=0d1d4002e3a9e6de1a6d50932c5e38642dbce4f4;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index 29e114c8..794a0699 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -8,10 +8,34 @@ ifneq ($(CONFIG_TRACEPOINTS),) ccflags-y += -I$(PWD)/probes obj-m += lttng-types.o +obj-m += lttng-probe-lttng.o + obj-m += lttng-probe-sched.o -obj-m += lttng-probe-kvm.o obj-m += lttng-probe-irq.o +ifneq ($(CONFIG_KVM),) +obj-m += lttng-probe-kvm.o +endif + +ifneq ($(CONFIG_BLOCK),) +ifneq ($(CONFIG_EVENT_TRACING),) # need blk_cmd_buf_len +obj-m += lttng-probe-block.o +endif +endif + +ifneq ($(CONFIG_KPROBES),) +obj-m += lttng-kprobes.o +endif + + +ifneq ($(CONFIG_KRETPROBES),) +obj-m += lttng-kretprobes.o +endif + +ifneq ($(CONFIG_DYNAMIC_FTRACE),) +obj-m += lttng-ftrace.o +endif + endif else