Fix: Handle SIGBUS in sessiond and consumerd
[lttng-tools.git] / src / bin / lttng-sessiond / Makefile.am
... / ...
CommitLineData
1# SPDX-License-Identifier: GPL-2.0-only
2
3AM_CPPFLAGS +=-DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \
4 -DINSTALL_LIB_PATH=\""$(libdir)"\"
5
6if EMBED_HELP
7AM_CPPFLAGS += -I$(top_builddir)/doc/man
8endif
9
10bin_PROGRAMS = lttng-sessiond
11
12lttng_sessiond_SOURCES = utils.c utils.h \
13 trace-kernel.c trace-kernel.h \
14 kernel.c kernel.h \
15 ust-app.h ust-sigbus.h trace-ust.h notify-apps.h \
16 lttng-ust-ctl.h lttng-ust-abi.h lttng-ust-error.h \
17 ust-ctl-internal.h ust-abi-internal.h ust-error-internal.h \
18 ust-registry.h \
19 condition-internal.c condition-internal.h \
20 context.c context.h \
21 channel.c channel.h \
22 event.c event.h \
23 consumer.c consumer.h \
24 session.c session.h \
25 modprobe.c modprobe.h kern-modules.h \
26 fd-limit.c fd-limit.h \
27 kernel-consumer.c kernel-consumer.h \
28 consumer.h \
29 health-sessiond.h \
30 cmd.c cmd.h \
31 buffer-registry.c buffer-registry.h \
32 testpoint.h ht-cleanup.c ht-cleanup.h \
33 snapshot.c snapshot.h \
34 agent.c agent.h \
35 save.h save.c \
36 lttng-syscall.h lttng-syscall.c \
37 notification-thread.h notification-thread.c \
38 notification-thread-internal.h \
39 notification-thread-commands.h notification-thread-commands.c \
40 notification-thread-events.h notification-thread-events.c \
41 sessiond-config.h sessiond-config.c \
42 rotate.h rotate.c \
43 rotation-thread.h rotation-thread.c \
44 timer.c timer.h \
45 globals.c \
46 thread-utils.c \
47 process-utils.c \
48 thread.c thread.h \
49 health.c \
50 client.c client.h \
51 dispatch.c dispatch.h \
52 register.c register.h \
53 manage-apps.c manage-apps.h \
54 manage-kernel.c manage-kernel.h \
55 manage-consumer.c manage-consumer.h \
56 clear.c clear.h \
57 tracker.c tracker.h \
58 event-notifier-error-accounting.c event-notifier-error-accounting.h \
59 action-executor.c action-executor.h\
60 trigger-error-query.c
61
62lttng_sessiond_LDFLAGS = -rdynamic
63
64if HAVE_LIBLTTNG_UST_CTL
65lttng_sessiond_SOURCES += trace-ust.c ust-registry.c ust-app.c \
66 ust-consumer.c ust-consumer.h notify-apps.c \
67 ust-metadata.c ust-clock.h agent-thread.c agent-thread.h \
68 ust-field-utils.h ust-field-utils.c \
69 ust-sigbus.c
70endif
71
72# Add main.c at the end for compile order
73lttng_sessiond_SOURCES += lttng-sessiond.h main.c
74
75# link on liblttngctl for check if sessiond is already alive.
76lttng_sessiond_LDADD = -lurcu-common $(URCU_LIBS) $(KMOD_LIBS) \
77 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
78 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
79 $(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \
80 $(top_builddir)/src/common/hashtable/libhashtable.la \
81 $(top_builddir)/src/common/libcommon.la \
82 $(top_builddir)/src/common/compat/libcompat.la \
83 $(top_builddir)/src/common/relayd/librelayd.la \
84 $(top_builddir)/src/common/testpoint/libtestpoint.la \
85 $(top_builddir)/src/common/health/libhealth.la \
86 $(top_builddir)/src/common/config/libconfig.la \
87 $(top_builddir)/src/common/string-utils/libstring-utils.la
88
89
90if HAVE_LIBLTTNG_UST_CTL
91lttng_sessiond_LDADD += $(UST_CTL_LIBS)
92endif
This page took 0.023839 seconds and 4 git commands to generate.