2 # Makefile for the LTT probes.
5 ccflags-y
+= -I
$(PWD
)/probes
8 obj-m
+= lttng-probe-lttng.o
10 obj-m
+= lttng-probe-sched.o
11 obj-m
+= lttng-probe-irq.o
13 ifneq ($(CONFIG_KVM
),)
14 obj-m
+= lttng-probe-kvm.o
17 ifneq ($(CONFIG_BLOCK
),)
18 ifneq ($(CONFIG_EVENT_TRACING
),) # need blk_cmd_buf_len
20 if
[ $(VERSION
) -ge
3 \
21 -o \
( $(VERSION
) -eq
2 -a
$(PATCHLEVEL
) -ge
6 -a
$(SUBLEVEL
) -ge
38 \
) ] ; then \
22 echo
"lttng-probe-block.o" ; fi
;)
26 ifneq ($(CONFIG_KPROBES
),)
27 obj-m
+= lttng-kprobes.o
31 ifneq ($(CONFIG_KRETPROBES
),)
32 obj-m
+= lttng-kretprobes.o
35 ifneq ($(CONFIG_DYNAMIC_FTRACE
),)
36 obj-m
+= lttng-ftrace.o