X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2FMakefile;h=6efd6ad1f240d7e2b4ce4a3b5acad22b6c2de128;hb=21b2893a417624ba661d0100e8ffac6de1acce40;hp=1c4f32b8bca2c9804ea04d7f30af6e07ce555947;hpb=6db3d13b849ff90922bd55fdaf047d746d79ba4a;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index 1c4f32b8..6efd6ad1 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -8,8 +8,43 @@ ifneq ($(CONFIG_TRACEPOINTS),) 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 \ + if [ $(VERSION) -ge 3 \ + -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 38 \) ] ; then \ + echo "lttng-probe-block.o" ; fi;) +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 endif