X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2FMakefile;h=f4642d5b72d22b26cf89ada925c2ff18282b9929;hb=eb9a7857efa6d55e347b81383a7948d72214e574;hp=554e6ffaf8e34c6a3a889786d3a126bbdc3fe46a;hpb=becb1a77f72c28357fc6509c1ec25dc8d4804b2c;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index 554e6ffa..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 @@ -24,10 +29,6 @@ ifneq ($(CONFIG_DYNAMIC_FTRACE),) obj-m += lttng-ftrace.o endif -ifneq ($(CONFIG_PERF_EVENTS),) -obj-m += lttng-perf-counters.o -endif - endif else