X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2FMakefile;h=78c0c69903882a36d7d6c241a4c503eff7c8e885;hb=f167620537b558f8fabd6912d4ea5c46a92cd877;hp=3125567525560857e2215c18c4e42548001aa929;hpb=6d61b34dfbcb172174d8b95f27462bd192ed2674;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index 31255675..78c0c699 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -1,12 +1,34 @@ # # Makefile for the LTT probes. -# +# Only build from the package top-level directory. Never use with make directly. ifneq ($(KERNELRELEASE),) ifneq ($(CONFIG_TRACEPOINTS),) ccflags-y += -I$(PWD)/probes -obj-m += sched.o +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-syscalls.o + +ifneq ($(CONFIG_KPROBES),) +obj-m += lttng-kprobes.o +endif + +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