X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2FMakefile;h=8e6994a0ffe8a7b5f3bac813a5161e6fd2c30450;hb=2001023e1ab9ae4bf85cad1dfb4c9aefb2e40dcf;hp=78c0c69903882a36d7d6c241a4c503eff7c8e885;hpb=9e7e489272e646b39c51e3074de800e928bb5cec;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index 78c0c699..8e6994a0 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -11,10 +11,21 @@ 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 + +ifneq ($(CONFIG_HAVE_SYSCALL_TRACEPOINTS),) obj-m += lttng-probe-syscalls.o +endif + +ifneq ($(CONFIG_KVM),) +obj-m += lttng-probe-kvm.o +endif + +ifneq ($(CONFIG_BLOCK),) +ifneq ($(CONFIG_EVENT_TRACING),) # need blk_cmd_buf_len +obj-m += lttng-probe-block.o +endif +endif ifneq ($(CONFIG_KPROBES),) obj-m += lttng-kprobes.o @@ -24,12 +35,6 @@ ifneq ($(CONFIG_DYNAMIC_FTRACE),) obj-m += lttng-ftrace.o endif -ifneq ($(CONFIG_PERF_EVENTS),) -obj-m += lttng-perf-counters.o -endif - -obj-m += lttng-context-pid.o - endif else