Introduce lttng_event_rule_user_tracepoint
[lttng-tools.git] / src / common / Makefile.am
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 AUTOMAKE_OPTIONS = subdir-objects
4
5 SUBDIRS = \
6 string-utils \
7 bytecode \
8 filter \
9 argpar
10
11 # Make sure to always distribute all folders
12 # since SUBDIRS is decided at configure time.
13 DIST_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 \
27 fd-tracker \
28 bytecode \
29 filter \
30 argpar
31
32 # Common library
33 noinst_LTLIBRARIES = libcommon.la
34 EXTRA_DIST = mi-lttng-4.0.xsd
35
36 libcommon_la_SOURCES = \
37 actions/action.c \
38 actions/list.c \
39 actions/notify.c \
40 actions/path.c \
41 actions/rotate-session.c \
42 actions/snapshot-session.c \
43 actions/start-session.c \
44 actions/stop-session.c \
45 actions/rate-policy.c \
46 buffer-view.h buffer-view.c \
47 common.h \
48 conditions/buffer-usage.c \
49 conditions/condition.c \
50 conditions/event-rule-matches.c \
51 conditions/session-consumed-size.c \
52 conditions/session-rotation.c \
53 context.c context.h \
54 credentials.c credentials.h \
55 daemonize.c daemonize.h \
56 defaults.c \
57 domain.c \
58 dynamic-array.c dynamic-array.h \
59 dynamic-buffer.c dynamic-buffer.h \
60 endpoint.c \
61 error.c error.h \
62 error-query.c \
63 evaluation.c \
64 event.c \
65 event-expr-to-bytecode.c event-expr-to-bytecode.h \
66 event-field-value.c \
67 event-rule/event-rule.c \
68 event-rule/kernel-kprobe.c \
69 event-rule/kernel-syscall.c \
70 event-rule/kernel-uprobe.c \
71 event-rule/tracepoint.c \
72 event-rule/kernel-tracepoint.c \
73 event-rule/user-tracepoint.c \
74 filter.c filter.h \
75 fd-handle.c fd-handle.h \
76 fs-handle.c fs-handle.h fs-handle-internal.h \
77 futex.c futex.h \
78 kernel-probe.c \
79 index-allocator.c index-allocator.h \
80 location.c \
81 log-level-rule.c \
82 mi-lttng.c mi-lttng.h \
83 notification.c \
84 optional.h \
85 payload.c payload.h \
86 payload-view.c payload-view.h \
87 pipe.c pipe.h \
88 readwrite.c readwrite.h \
89 runas.c runas.h \
90 shm.c shm.h \
91 session-descriptor.c \
92 snapshot.c snapshot.h \
93 spawn-viewer.c spawn-viewer.h \
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 \
103 thread.c thread.h \
104 tracker.c tracker.h \
105 waiter.c waiter.h
106
107 if HAVE_ELF_H
108 libcommon_la_SOURCES += \
109 lttng-elf.c lttng-elf.h
110 endif
111
112 libcommon_la_LIBADD = \
113 $(top_builddir)/src/common/bytecode/libbytecode.la \
114 $(top_builddir)/src/common/config/libconfig.la \
115 $(top_builddir)/src/common/compat/libcompat.la \
116 $(top_builddir)/src/common/hashtable/libhashtable.la \
117 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
118 $(top_builddir)/src/common/filter/libfilter.la \
119 $(top_builddir)/src/vendor/msgpack/libmsgpack.la
120
121 if BUILD_LIB_COMPAT
122 SUBDIRS += compat
123 endif
124
125 if BUILD_LIB_HEALTH
126 SUBDIRS += health
127 endif
128
129 if BUILD_LIB_HASHTABLE
130 SUBDIRS += hashtable
131 endif
132
133 if BUILD_LIB_KERNEL_CTL
134 SUBDIRS += kernel-ctl
135 endif
136
137 if BUILD_LIB_SESSIOND_COMM
138 SUBDIRS += sessiond-comm
139 endif
140
141 if BUILD_LIB_RELAYD
142 SUBDIRS += relayd
143 endif
144
145 if BUILD_LIB_FD_TRACKER
146 SUBDIRS += fd-tracker
147 endif
148
149 if BUILD_LIB_KERNEL_CONSUMER
150 SUBDIRS += kernel-consumer
151 endif
152
153 if BUILD_LIB_UST_CONSUMER
154 SUBDIRS += ust-consumer
155 endif
156
157 if BUILD_LIB_TESTPOINT
158 SUBDIRS += testpoint
159 endif
160
161 if BUILD_LIB_INDEX
162 SUBDIRS += index
163 endif
164
165 if BUILD_LIB_CONFIG
166 SUBDIRS += config
167 endif
168
169 if BUILD_LIB_CONSUMER
170 SUBDIRS += consumer
171 endif
172
173 noinst_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
185
186 noinst_PROGRAMS = filter-grammar-test
187 filter_grammar_test_SOURCES = filter-grammar-test.c
188 filter_grammar_test_LDADD = \
189 libcommon.la
190
191 all-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
198 clean-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.033731 seconds and 5 git commands to generate.