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-irq.o
16 ifneq ($(CONFIG_KVM
),)
17 obj-m
+= lttng-probe-kvm.o
20 ifneq ($(CONFIG_BLOCK
),)
21 ifneq ($(CONFIG_EVENT_TRACING
),) # need blk_cmd_buf_len
22 obj-m
+= lttng-probe-block.o
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
42 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
47 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules
50 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules_install
54 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) clean
This page took 0.051311 seconds and 5 git commands to generate.