1 # SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
3 TOP_LTTNG_MODULES_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))/..
5 include $(TOP_LTTNG_MODULES_DIR)/Kbuild.common
7 ccflags-y += -I$(TOP_LTTNG_MODULES_DIR)
9 obj-$(CONFIG_LTTNG) += lttng-lib-ring-buffer.o
11 lttng-lib-ring-buffer-objs := \
12 ringbuffer/ring_buffer_backend.o \
13 ringbuffer/ring_buffer_frontend.o \
14 ringbuffer/ring_buffer_iterator.o \
15 ringbuffer/ring_buffer_vfs.o \
16 ringbuffer/ring_buffer_splice.o \
17 ringbuffer/ring_buffer_mmap.o \
18 prio_heap/lttng_prio_heap.o