From: Mathieu Desnoyers Date: Fri, 15 Jul 2011 16:28:42 +0000 (-0400) Subject: probes: blktrace: Check if config options are set X-Git-Tag: v2.0-pre1~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c9604bd31e116434dbcf95503952dc1790462bc0;p=lttng-modules.git probes: blktrace: Check if config options are set Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/Makefile b/probes/Makefile index 7129e979..f4642d5b 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -13,9 +13,14 @@ obj-m += lttng-probe-lttng.o obj-m += lttng-probe-sched.o obj-m += lttng-probe-kvm.o obj-m += lttng-probe-irq.o -obj-m += lttng-probe-block.o obj-m += lttng-probe-syscalls.o +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