2 # Makefile for the LTT probes.
3 # Only build from the package top-level directory. Never use with make directly.
5 ifneq ($(KERNELRELEASE
),)
6 ifneq ($(CONFIG_TRACEPOINTS
),)
8 ccflags-y
+= -I
$(PWD
)/probes
11 obj-m
+= lttng-probe-lttng.o
13 obj-m
+= lttng-probe-sched.o
14 obj-m
+= lttng-probe-kvm.o
15 obj-m
+= lttng-probe-irq.o
16 obj-m
+= lttng-probe-block.o
17 obj-m
+= lttng-probe-syscalls.o
19 ifneq ($(CONFIG_KPROBES
),)
20 obj-m
+= lttng-kprobes.o
23 ifneq ($(CONFIG_DYNAMIC_FTRACE
),)
24 obj-m
+= lttng-ftrace.o
30 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
35 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules
38 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules_install
42 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) clean
This page took 0.030426 seconds and 4 git commands to generate.