X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=a56775e310a3b24ee35a880cff2e73707a4652b1;hp=a40ec0d2990ed569a579ae73c4a7cfd9bfad8a37;hb=246611b0dffa58fbc0e2329ddf6f9dc9d9eff7ce;hpb=aa360a35847ac1274e22858554fb89203318e372 diff --git a/src/common/Makefile.am b/src/common/Makefile.am index a40ec0d29..a56775e31 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -1,6 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0-only + AUTOMAKE_OPTIONS = subdir-objects -SUBDIRS = string-utils +SUBDIRS = \ + string-utils \ + bytecode \ + filter \ + argpar # Make sure to always distribute all folders # since SUBDIRS is decided at configure time. @@ -18,41 +24,67 @@ DIST_SUBDIRS = \ config \ consumer \ string-utils \ - fd-tracker + fd-tracker \ + bytecode \ + filter \ + argpar # 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 \ - buffer-usage.c \ + actions/action.c \ + actions/group.c \ + actions/notify.c \ + actions/rotate-session.c \ + actions/snapshot-session.c \ + actions/start-session.c \ + actions/stop-session.c \ buffer-view.h buffer-view.c \ common.h \ - condition.c \ + conditions/buffer-usage.c \ + conditions/condition.c \ + conditions/on-event.c \ + conditions/session-consumed-size.c \ + conditions/session-rotation.c \ context.c context.h \ - credentials.h \ + credentials.c credentials.h \ daemonize.c daemonize.h \ defaults.c \ + domain.c \ dynamic-array.c dynamic-array.h \ dynamic-buffer.c dynamic-buffer.h \ endpoint.c \ error.c error.h \ evaluation.c \ event.c \ + event-expr-to-bytecode.c event-expr-to-bytecode.h \ + event-field-value.c \ + event-rule/event-rule.c \ + event-rule/kernel-probe.c \ + event-rule/syscall.c \ + event-rule/userspace-probe.c \ + event-rule/tracepoint.c \ filter.c filter.h \ + fd-handle.c fd-handle.h \ + fs-handle.c fs-handle.h fs-handle-internal.h \ futex.c futex.h \ + kernel-probe.c \ + index-allocator.c index-allocator.h \ location.c \ + log-level-rule.c \ mi-lttng.c mi-lttng.h \ notification.c \ - notify.c \ optional.h \ + payload.c payload.h \ + payload-view.c payload-view.h \ pipe.c pipe.h \ readwrite.c readwrite.h \ runas.c runas.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 \ @@ -62,6 +94,8 @@ libcommon_la_SOURCES = \ userspace-probe.c \ utils.c utils.h \ uuid.c uuid.h \ + thread.c thread.h \ + tracker.c tracker.h \ waiter.c waiter.h if HAVE_ELF_H @@ -70,9 +104,13 @@ libcommon_la_SOURCES += \ endif libcommon_la_LIBADD = \ + $(top_builddir)/src/common/bytecode/libbytecode.la \ $(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 \ + $(top_builddir)/src/common/filter/libfilter.la \ + $(top_builddir)/src/vendor/msgpack/libmsgpack.la if BUILD_LIB_COMPAT SUBDIRS += compat