Introduce lttng_event_rule_user_tracepoint
[lttng-tools.git] / src / common / Makefile.am
CommitLineData
ab5be9fa
MJ
1# SPDX-License-Identifier: GPL-2.0-only
2
26821431
MD
3AUTOMAKE_OPTIONS = subdir-objects
4
e2fb96d8
SM
5SUBDIRS = \
6 string-utils \
0ae3cfc6 7 bytecode \
e2fb96d8
SM
8 filter \
9 argpar
87fb9fc0
JR
10
11# Make sure to always distribute all folders
12# since SUBDIRS is decided at configure time.
28b6dfc8
SM
13DIST_SUBDIRS = \
14 compat \
15 health \
16 hashtable \
17 kernel-ctl \
18 sessiond-comm \
19 relayd \
20 kernel-consumer \
21 ust-consumer \
22 testpoint \
23 index \
24 config \
25 consumer \
26 string-utils \
e4d2f27a 27 fd-tracker \
0ae3cfc6 28 bytecode \
e2fb96d8
SM
29 filter \
30 argpar
31
b3f35e02
FD
32# Common library
33noinst_LTLIBRARIES = libcommon.la
01fac814 34EXTRA_DIST = mi-lttng-4.0.xsd
b3f35e02 35
28b6dfc8 36libcommon_la_SOURCES = \
03bb2358 37 actions/action.c \
ad63a966 38 actions/list.c \
03bb2358 39 actions/notify.c \
27993cc2 40 actions/path.c \
bfb2ec6a 41 actions/rotate-session.c \
757c48a2 42 actions/snapshot-session.c \
58397d0d 43 actions/start-session.c \
931bdbaa 44 actions/stop-session.c \
7f4d5b07 45 actions/rate-policy.c \
28b6dfc8
SM
46 buffer-view.h buffer-view.c \
47 common.h \
ae20d1bd
JR
48 conditions/buffer-usage.c \
49 conditions/condition.c \
670a26e4 50 conditions/event-rule-matches.c \
ae20d1bd
JR
51 conditions/session-consumed-size.c \
52 conditions/session-rotation.c \
28b6dfc8 53 context.c context.h \
894e6e1c 54 credentials.c credentials.h \
28b6dfc8
SM
55 daemonize.c daemonize.h \
56 defaults.c \
c0374092 57 domain.c \
28b6dfc8
SM
58 dynamic-array.c dynamic-array.h \
59 dynamic-buffer.c dynamic-buffer.h \
60 endpoint.c \
61 error.c error.h \
b99a0cb3 62 error-query.c \
28b6dfc8
SM
63 evaluation.c \
64 event.c \
748b5f7b 65 event-expr-to-bytecode.c event-expr-to-bytecode.h \
d28fcdec 66 event-field-value.c \
7a3dcaf6 67 event-rule/event-rule.c \
85522de5 68 event-rule/kernel-kprobe.c \
4f7da553 69 event-rule/kernel-syscall.c \
46fd07ac 70 event-rule/kernel-uprobe.c \
6d420eff 71 event-rule/tracepoint.c \
af0818ef 72 event-rule/kernel-tracepoint.c \
0a23a07d 73 event-rule/user-tracepoint.c \
28b6dfc8 74 filter.c filter.h \
dd1bac00 75 fd-handle.c fd-handle.h \
75e36e37 76 fs-handle.c fs-handle.h fs-handle-internal.h \
28b6dfc8 77 futex.c futex.h \
808cb744 78 kernel-probe.c \
246611b0 79 index-allocator.c index-allocator.h \
28b6dfc8 80 location.c \
85b05318 81 log-level-rule.c \
28b6dfc8
SM
82 mi-lttng.c mi-lttng.h \
83 notification.c \
28b6dfc8 84 optional.h \
9e620ea7
JG
85 payload.c payload.h \
86 payload-view.c payload-view.h \
28b6dfc8
SM
87 pipe.c pipe.h \
88 readwrite.c readwrite.h \
89 runas.c runas.h \
b7fc068d 90 shm.c shm.h \
28b6dfc8 91 session-descriptor.c \
b30fa191 92 snapshot.c snapshot.h \
dd392e94 93 spawn-viewer.c spawn-viewer.h \
28b6dfc8
SM
94 time.c \
95 trace-chunk.c trace-chunk.h \
96 trace-chunk-registry.h \
97 trigger.c \
98 unix.c unix.h \
99 uri.c uri.h \
100 userspace-probe.c \
101 utils.c utils.h \
102 uuid.c uuid.h \
cb8d0d24 103 thread.c thread.h \
159b042f 104 tracker.c tracker.h \
75e36e37 105 waiter.c waiter.h
b3f35e02 106
b1b34226 107if HAVE_ELF_H
28b6dfc8
SM
108libcommon_la_SOURCES += \
109 lttng-elf.c lttng-elf.h
b1b34226
MJ
110endif
111
b3f35e02 112libcommon_la_LIBADD = \
0ae3cfc6 113 $(top_builddir)/src/common/bytecode/libbytecode.la \
28b6dfc8
SM
114 $(top_builddir)/src/common/config/libconfig.la \
115 $(top_builddir)/src/common/compat/libcompat.la \
8bb66c3c 116 $(top_builddir)/src/common/hashtable/libhashtable.la \
e4d2f27a 117 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
116a02e3
JG
118 $(top_builddir)/src/common/filter/libfilter.la \
119 $(top_builddir)/src/vendor/msgpack/libmsgpack.la
b3f35e02 120
87fb9fc0
JR
121if BUILD_LIB_COMPAT
122SUBDIRS += compat
123endif
124
125if BUILD_LIB_HEALTH
126SUBDIRS += health
127endif
128
129if BUILD_LIB_HASHTABLE
130SUBDIRS += hashtable
131endif
132
133if BUILD_LIB_KERNEL_CTL
134SUBDIRS += kernel-ctl
135endif
136
137if BUILD_LIB_SESSIOND_COMM
138SUBDIRS += sessiond-comm
139endif
140
141if BUILD_LIB_RELAYD
aa360a35
JG
142SUBDIRS += relayd
143endif
144
145if BUILD_LIB_FD_TRACKER
146SUBDIRS += fd-tracker
87fb9fc0
JR
147endif
148
149if BUILD_LIB_KERNEL_CONSUMER
150SUBDIRS += kernel-consumer
151endif
152
153if BUILD_LIB_UST_CONSUMER
154SUBDIRS += ust-consumer
155endif
156
157if BUILD_LIB_TESTPOINT
158SUBDIRS += testpoint
159endif
160
161if BUILD_LIB_INDEX
162SUBDIRS += index
163endif
164
165if BUILD_LIB_CONFIG
166SUBDIRS += config
167endif
168
169if BUILD_LIB_CONSUMER
170SUBDIRS += consumer
171endif
10a8a223 172
28b6dfc8
SM
173noinst_HEADERS = \
174 align.h \
175 bug.h \
176 defaults.h \
177 error.h \
178 futex.h \
179 lttng-kernel.h \
180 lttng-kernel-old.h \
181 macros.h \
182 time.h \
183 uri.h \
184 utils.h
1c39da61 185
e358ddd5
JG
186noinst_PROGRAMS = filter-grammar-test
187filter_grammar_test_SOURCES = filter-grammar-test.c
188filter_grammar_test_LDADD = \
189 libcommon.la
e358ddd5 190
c49fc5e4
JR
191all-local:
192 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
193 for script in $(EXTRA_DIST); do \
194 cp -f $(srcdir)/$$script $(builddir); \
195 done; \
196 fi
197
198clean-local:
199 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
200 for script in $(EXTRA_DIST); do \
201 rm -f $(builddir)/$$script; \
202 done; \
203 fi
This page took 0.063141 seconds and 4 git commands to generate.