X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2FMakefile;h=6efd6ad1f240d7e2b4ce4a3b5acad22b6c2de128;hb=88ec3fac2b6a6631b61e066c89687f77f00c7210;hp=2b61ce5fd17c1f0aab2538e10fcbc3190a93657d;hpb=2d3767da8b85d8bc7ab67bd2da6a1f34c34e070b;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index 2b61ce5f..6efd6ad1 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -9,14 +9,21 @@ 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-irq.o +obj-m += lttng-probe-timer.o + +obj-m += lttng-probe-statedump.o ifneq ($(CONFIG_KVM),) obj-m += lttng-probe-kvm.o endif +obj-m += $(shell \ + if [ $(VERSION) -ge 3 \ + -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 35 \) ] ; then \ + echo "lttng-probe-signal.o" ; fi;) + ifneq ($(CONFIG_BLOCK),) ifneq ($(CONFIG_EVENT_TRACING),) # need blk_cmd_buf_len obj-m += $(shell \