X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2FMakefile;h=6efd6ad1f240d7e2b4ce4a3b5acad22b6c2de128;hb=94e7e92cd7bc868f351d3e96413539df6a51f5f4;hp=d86ee87d27856e9113dc06356ce4f97dabb96b2e;hpb=0ec73ddce557ac36a2782a726ab5a00663c2e50d;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index d86ee87d..6efd6ad1 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -9,10 +9,9 @@ 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-signal.o +obj-m += lttng-probe-timer.o obj-m += lttng-probe-statedump.o @@ -20,6 +19,11 @@ 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 \