X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2FMakefile;h=d86ee87d27856e9113dc06356ce4f97dabb96b2e;hb=0ec73ddce557ac36a2782a726ab5a00663c2e50d;hp=add4e88fc0e48664a4c8b8fc0384e37263c20c26;hpb=cd4bd11fe2d3232089186a5b9b021b7cb504a8fb;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index add4e88f..d86ee87d 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -11,9 +11,36 @@ obj-m += lttng-types.o 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-signal.o + +obj-m += lttng-probe-statedump.o + +ifneq ($(CONFIG_KVM),) +obj-m += lttng-probe-kvm.o +endif + +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