Add CPU hotplug notifier for ltt debugfs ABI, add pollwait exclusive wrapper
[lttng-modules.git] / Makefile
CommitLineData
1c8284eb
MD
1#
2# Makefile for the LTT objects.
3#
4
5ifneq ($(KERNELRELEASE),)
11b5a3c2 6ifneq ($(CONFIG_TRACEPOINTS),)
1c8284eb 7
11b5a3c2
MD
8obj-m += ltt-ring-buffer-client-discard.o
9obj-m += ltt-ring-buffer-client-overwrite.o
881833e3 10obj-m += ltt-ring-buffer-metadata-client.o
1c8284eb
MD
11
12obj-m += ltt-relay.o
881833e3 13ltt-relay-objs := ltt-events.o ltt-debugfs-abi.o \
becb1a77 14 ltt-probes.o ltt-core.o ltt-context.o \
53f1f0ca 15 lttng-context-pid.o lttng-context-comm.o \
24cedcfe
MD
16 lttng-context-prio.o lttng-context-nice.o \
17 wrapper/poll.o
11b5a3c2 18
c24a0d71
MD
19ifneq ($(CONFIG_PERF_EVENTS),)
20ltt-relay-objs += lttng-context-perf-counters.o
21endif
22
6d61b34d 23obj-m += probes/
f3bc08c5 24obj-m += lib/
f3bc08c5 25
1c8284eb
MD
26endif
27
28else
29 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
30 PWD := $(shell pwd)
2e6246b4 31 CFLAGS = $(EXTCFLAGS)
1c8284eb
MD
32
33default:
34 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
35
36modules_install:
37 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
38 /sbin/depmod -a
39
40clean:
41 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
42
43endif
This page took 0.024865 seconds and 4 git commands to generate.