mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
lttng: Split up libtracepoints
Signed-off-by: Adam Crume <adamcrume@gmail.com>
This commit is contained in:
parent
00b2ec6f21
commit
e1e157fba2
@ -156,7 +156,9 @@ LIBRBD = librbd.la
|
||||
LIBKRBD = libkrbd.la
|
||||
LIBCEPHFS = libcephfs.la
|
||||
LIBERASURE_CODE = liberasure_code.la
|
||||
LIBTRACEPOINTS = tracing/libtracepoints.la
|
||||
LIBCOMMON_TP = tracing/libcommon_tp.la
|
||||
LIBOSD_TP = tracing/libosd_tp.la
|
||||
LIBRADOS_TP = tracing/librados_tp.la
|
||||
|
||||
if WITH_LIBAIO
|
||||
LIBOS += -laio
|
||||
|
@ -113,7 +113,7 @@ LIBCOMMON_DEPS += \
|
||||
$(LIBERASURE_CODE) \
|
||||
$(LIBMSG) $(LIBAUTH) \
|
||||
$(LIBCRUSH) $(LIBJSON_SPIRIT) $(LIBLOG) $(LIBARCH) \
|
||||
$(LIBTRACEPOINTS)
|
||||
$(LIBCOMMON_TP)
|
||||
|
||||
if LINUX
|
||||
LIBCOMMON_DEPS += -lrt
|
||||
|
@ -8,7 +8,7 @@ librados_la_SOURCES = \
|
||||
# We need this to avoid basename conflicts with the librados build tests in test/Makefile.am
|
||||
librados_la_CXXFLAGS = ${AM_CXXFLAGS}
|
||||
|
||||
LIBRADOS_DEPS += libcls_lock_client.la $(LIBOSDC) $(LIBCOMMON)
|
||||
LIBRADOS_DEPS += libcls_lock_client.la $(LIBOSDC) $(LIBCOMMON) $(LIBRADOS_TP)
|
||||
librados_la_LIBADD = $(LIBRADOS_DEPS) $(PTHREAD_LIBS) $(CRYPTO_LIBS) $(EXTRALIBS)
|
||||
librados_la_LDFLAGS = ${AM_LDFLAGS} -version-info 2:0:0
|
||||
if LINUX
|
||||
|
@ -25,7 +25,7 @@ libosd_la_SOURCES = \
|
||||
objclass/class_api.cc
|
||||
|
||||
libosd_la_CXXFLAGS = ${AM_CXXFLAGS}
|
||||
libosd_la_LIBADD = $(LIBOSDC) $(LIBOS) $(LIBOSD_TYPES) $(LIBOS_TYPES)
|
||||
libosd_la_LIBADD = $(LIBOSDC) $(LIBOS) $(LIBOSD_TYPES) $(LIBOS_TYPES) $(LIBOSD_TP)
|
||||
noinst_LTLIBRARIES += libosd.la
|
||||
|
||||
noinst_HEADERS += \
|
||||
|
@ -8,22 +8,35 @@ dist_noinst_DATA = \
|
||||
osd.tp \
|
||||
pg.tp
|
||||
|
||||
libtracepoints_la_SOURCES = \
|
||||
librados.c \
|
||||
librados.h \
|
||||
libcommon_tp_la_SOURCES = \
|
||||
mutex.c \
|
||||
mutex.h \
|
||||
mutex.h
|
||||
libcommon_tp_la_LIBADD = -llttng-ust -ldl
|
||||
libcommon_tp_la_CPPFLAGS = -DTRACEPOINT_PROBE_DYNAMIC_LINKAGE
|
||||
libcommon_tp_la_LDFLAGS =
|
||||
|
||||
libosd_tp_la_SOURCES = \
|
||||
oprequest.c \
|
||||
oprequest.h \
|
||||
osd.c \
|
||||
osd.h \
|
||||
pg.h \
|
||||
pg.c
|
||||
libosd_tp_la_LIBADD = -llttng-ust -ldl
|
||||
libosd_tp_la_CPPFLAGS = -DTRACEPOINT_PROBE_DYNAMIC_LINKAGE
|
||||
libosd_tp_la_LDFLAGS =
|
||||
|
||||
libtracepoints_la_LIBADD = -llttng-ust -ldl
|
||||
libtracepoints_la_CPPFLAGS = -DTRACEPOINT_PROBE_DYNAMIC_LINKAGE
|
||||
libtracepoints_la_LDFLAGS =
|
||||
noinst_LTLIBRARIES = libtracepoints.la
|
||||
librados_tp_la_SOURCES = \
|
||||
librados.c \
|
||||
librados.h
|
||||
librados_tp_la_LIBADD = -llttng-ust -ldl
|
||||
librados_tp_la_CPPFLAGS = -DTRACEPOINT_PROBE_DYNAMIC_LINKAGE
|
||||
librados_tp_la_LDFLAGS =
|
||||
|
||||
noinst_LTLIBRARIES = \
|
||||
libcommon_tp.la \
|
||||
libosd_tp.la \
|
||||
librados_tp.la
|
||||
|
||||
BUILT_SOURCES = \
|
||||
librados.h \
|
||||
@ -32,4 +45,7 @@ BUILT_SOURCES = \
|
||||
osd.h \
|
||||
pg.h
|
||||
|
||||
CLEANFILES = $(libtracepoints_la_SOURCES)
|
||||
CLEANFILES = \
|
||||
$(libcommon_tp_la_SOURCES) \
|
||||
$(libosd_tp_la_SOURCES) \
|
||||
$(librados_tp_la_SOURCES)
|
||||
|
Loading…
Reference in New Issue
Block a user