X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=probes%2FMakefile;h=8b02d5f5b5eaa3adcf43d657bfef940627ed301c;hb=d71e64719b9308db558e6b12a5266054e995ed15;hp=cfe5e75823ee1ecf09a479f330ec8160812ba201;hpb=40652b65bb2b500ea04eaa61c3dfcfaa719073be;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index cfe5e758..8b02d5f5 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -6,9 +6,40 @@ 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-irq.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 +endif + + +ifneq ($(CONFIG_KRETPROBES),) +obj-m += lttng-kretprobes.o +endif + +ifneq ($(CONFIG_DYNAMIC_FTRACE),) +obj-m += lttng-ftrace.o +endif + endif else