2 # Makefile for the LTTng modules.
5 obj-m
+= ltt-ring-buffer-client-discard.o
6 obj-m
+= ltt-ring-buffer-client-overwrite.o
7 obj-m
+= ltt-ring-buffer-metadata-client.o
8 obj-m
+= ltt-ring-buffer-client-mmap-discard.o
9 obj-m
+= ltt-ring-buffer-client-mmap-overwrite.o
10 obj-m
+= ltt-ring-buffer-metadata-mmap-client.o
13 ltt-relay-objs
:= ltt-events.o ltt-debugfs-abi.o \
14 ltt-probes.o ltt-context.o \
15 lttng-context-pid.o lttng-context-procname.o \
16 lttng-context-prio.o lttng-context-nice.o \
17 lttng-context-vpid.o lttng-context-tid.o \
18 lttng-context-vtid.o lttng-context-ppid.o \
19 lttng-context-vppid.o lttng-calibrate.o
21 ifneq ($(CONFIG_HAVE_SYSCALL_TRACEPOINTS
),)
22 ltt-relay-objs
+= lttng-syscalls.o
25 ifneq ($(CONFIG_PERF_EVENTS
),)
26 ltt-relay-objs
+= $(shell \
27 if
[ $(VERSION
) -ge
3 \
28 -o \
( $(VERSION
) -eq
2 -a
$(PATCHLEVEL
) -ge
6 -a
$(SUBLEVEL
) -ge
33 \
) ] ; then \
29 echo
"lttng-context-perf-counters.o" ; fi
;)