kprobes support: fix handling of event description
[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-kvm.o
15obj-m += lttng-probe-irq.o
16obj-m += lttng-probe-block.o
17obj-m += lttng-probe-syscalls.o
18
19obj-m += lttng-kprobes.o
20
21endif
22
23else
24 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
25 PWD := $(shell pwd)
26 CFLAGS = $(EXTCFLAGS)
27
28default:
29 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
30
31modules_install:
32 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
33 /sbin/depmod -a
34
35clean:
36 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
37
38endif
This page took 0.022153 seconds and 4 git commands to generate.