+# SPDX-License-Identifier: GPL-2.0-only
+
AUTOMAKE_OPTIONS = subdir-objects
SUBDIRS = string-utils
# Common library
noinst_LTLIBRARIES = libcommon.la
-EXTRA_DIST = mi-lttng-3.0.xsd
+EXTRA_DIST = mi-lttng-4.0.xsd
libcommon_la_SOURCES = \
- action.c \
+ actions/action.c \
+ actions/notify.c \
+ actions/rotate-session.c \
+ actions/snapshot-session.c \
+ actions/start-session.c \
+ actions/stop-session.c \
buffer-usage.c \
buffer-view.h buffer-view.c \
common.h \
evaluation.c \
event.c \
filter.c filter.h \
+ fs-handle.c fs-handle.h fs-handle-internal.h \
futex.c futex.h \
location.c \
mi-lttng.c mi-lttng.h \
notification.c \
- notify.c \
optional.h \
pipe.c pipe.h \
readwrite.c readwrite.h \
session-consumed-size.c \
session-descriptor.c \
session-rotation.c \
+ snapshot.c snapshot.h \
+ spawn-viewer.c spawn-viewer.h \
time.c \
trace-chunk.c trace-chunk.h \
trace-chunk-registry.h \
userspace-probe.c \
utils.c utils.h \
uuid.c uuid.h \
+ tracker.c tracker.h \
waiter.c waiter.h
if HAVE_ELF_H
libcommon_la_LIBADD = \
$(top_builddir)/src/common/config/libconfig.la \
$(top_builddir)/src/common/compat/libcompat.la \
- $(top_builddir)/src/common/hashtable/libhashtable.la
+ $(top_builddir)/src/common/hashtable/libhashtable.la \
+ $(top_builddir)/src/common/fd-tracker/libfd-tracker.la
if BUILD_LIB_COMPAT
SUBDIRS += compat
endif
if BUILD_LIB_RELAYD
-SUBDIRS += relayd fd-tracker
+SUBDIRS += relayd
+endif
+
+if BUILD_LIB_FD_TRACKER
+SUBDIRS += fd-tracker
endif
if BUILD_LIB_KERNEL_CONSUMER