ifneq ($(KERNELRELEASE),)
ifneq ($(CONFIG_TRACEPOINTS),)
-obj-m += ltt-core.o
obj-m += ltt-ring-buffer-client-discard.o
obj-m += ltt-ring-buffer-client-overwrite.o
+obj-m += ltt-ring-buffer-metadata-client.o
obj-m += ltt-relay.o
-ltt-relay-objs := ltt-events.o ltt-event-header.o ltt-debugfs-abi.o \
- ltt-probes.o
+ltt-relay-objs := ltt-events.o ltt-debugfs-abi.o \
+ ltt-probes.o ltt-core.o ltt-context.o \
+ lttng-context-pid.o lttng-context-comm.o \
+ lttng-context-prio.o lttng-context-nice.o \
+ wrapper/poll.o
+
+ifneq ($(CONFIG_PERF_EVENTS),)
+ltt-relay-objs += lttng-context-perf-counters.o
+endif
obj-m += probes/
+obj-m += lib/
endif