X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2FMakefile;h=794a06993a8e0efac2a8147b6c3bf0fd8c1119ac;hb=63728b0280b098167c6fc9f8e423b134fdd83a88;hp=7129e979e28fe8678123ffcc3285730c0c9c47a3;hpb=acd614cc4d30407efd46a528e29dadb403d25ffb;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index 7129e979..794a0699 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -11,15 +11,27 @@ 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 -obj-m += lttng-probe-syscalls.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