X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=probes%2FMakefile;h=794a06993a8e0efac2a8147b6c3bf0fd8c1119ac;hb=bfb508ed9eb3af9c45bb4fd96ec0bf0028cec5a1;hp=f4642d5b72d22b26cf89ada925c2ff18282b9929;hpb=c9604bd31e116434dbcf95503952dc1790462bc0;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index f4642d5b..794a0699 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -11,9 +11,11 @@ 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-syscalls.o + +ifneq ($(CONFIG_KVM),) +obj-m += lttng-probe-kvm.o +endif ifneq ($(CONFIG_BLOCK),) ifneq ($(CONFIG_EVENT_TRACING),) # need blk_cmd_buf_len @@ -25,6 +27,11 @@ 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