Add syscall tracing
[lttng-modules.git] / probes / Makefile
1 #
2 # Makefile for the LTT probes.
3 # Only build from the package top-level directory. Never use with make directly.
4
5 ifneq ($(KERNELRELEASE),)
6 ifneq ($(CONFIG_TRACEPOINTS),)
7
8 ccflags-y += -I$(PWD)/probes
9 obj-m += lttng-types.o
10
11 obj-m += lttng-probe-lttng.o
12
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
18
19 endif
20
21 else
22 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
23 PWD := $(shell pwd)
24 CFLAGS = $(EXTCFLAGS)
25
26 default:
27 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
28
29 modules_install:
30 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
31 /sbin/depmod -a
32
33 clean:
34 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
35
36 endif
This page took 0.031313 seconds and 5 git commands to generate.