Document limitation of vppid and ppid context wrt eventual RCU instrumentation
[lttng-modules.git] / probes / Makefile
... / ...
CommitLineData
1#
2# Makefile for the LTT probes.
3# Only build from the package top-level directory. Never use with make directly.
4
5ifneq ($(KERNELRELEASE),)
6ifneq ($(CONFIG_TRACEPOINTS),)
7
8ccflags-y += -I$(PWD)/probes
9obj-m += lttng-types.o
10
11obj-m += lttng-probe-lttng.o
12
13obj-m += lttng-probe-sched.o
14obj-m += lttng-probe-irq.o
15obj-m += lttng-probe-signal.o
16obj-m += lttng-probe-timer.o
17
18obj-m += lttng-probe-statedump.o
19
20ifneq ($(CONFIG_KVM),)
21obj-m += lttng-probe-kvm.o
22endif
23
24ifneq ($(CONFIG_BLOCK),)
25ifneq ($(CONFIG_EVENT_TRACING),) # need blk_cmd_buf_len
26obj-m += $(shell \
27 if [ $(VERSION) -ge 3 \
28 -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 38 \) ] ; then \
29 echo "lttng-probe-block.o" ; fi;)
30endif
31endif
32
33ifneq ($(CONFIG_KPROBES),)
34obj-m += lttng-kprobes.o
35endif
36
37
38ifneq ($(CONFIG_KRETPROBES),)
39obj-m += lttng-kretprobes.o
40endif
41
42ifneq ($(CONFIG_DYNAMIC_FTRACE),)
43obj-m += lttng-ftrace.o
44endif
45
46endif
47
48else
49 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
50 PWD := $(shell pwd)
51 CFLAGS = $(EXTCFLAGS)
52
53default:
54 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
55
56modules_install:
57 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
58 /sbin/depmod -a
59
60clean:
61 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
62
63endif
This page took 0.027458 seconds and 4 git commands to generate.