2 # Makefile for the LTT objects.
5 ifneq ($(KERNELRELEASE
),)
6 ifneq ($(CONFIG_TRACEPOINTS
),)
9 obj-m
+= ltt-ring-buffer-client-discard.o
10 obj-m
+= ltt-ring-buffer-client-overwrite.o
13 ltt-relay-objs
:= ltt-events.o ltt-event-header.o ltt-debugfs-abi.o
15 #ltt-type-serializer.o
17 #obj-m += ltt-marker-control.o
18 #obj-m += ltt-trace-control.o
21 #obj-m += ltt-statedump.o
22 #obj-m += ltt-userspace-event.o
23 #obj-m += ltt-filter.o
24 #obj-m += ltt-kprobes.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