aboutsummaryrefslogtreecommitdiff
path: root/src/lib/trace/include.am
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-01-09 12:17:49 -0500
committerDavid Goulet <dgoulet@torproject.org>2020-07-08 09:10:08 -0400
commit6fc6cbd9b347ee1f82a024a04c0276bbc6e82c99 (patch)
tree137b8cc822adbdb5bc46fe9c038e234af5e67179 /src/lib/trace/include.am
parente4bfa734a60555a1871a008c2a125fe55d564aa1 (diff)
downloadtor-6fc6cbd9b347ee1f82a024a04c0276bbc6e82c99.tar.gz
tor-6fc6cbd9b347ee1f82a024a04c0276bbc6e82c99.zip
trace: Better structure lib/trace and configure options
In the next commits, we'll add more tracing options for instrumentation and specific tracer. This rename follows a more meaningful naming standard. It also adds a catch all "HAVE_TRACING" define that indicate in the code that we have tracing enabled. Part of #32910 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/lib/trace/include.am')
-rw-r--r--src/lib/trace/include.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/trace/include.am b/src/lib/trace/include.am
index 98098c87f4..1669943dc5 100644
--- a/src/lib/trace/include.am
+++ b/src/lib/trace/include.am
@@ -2,18 +2,20 @@
noinst_LIBRARIES += \
src/lib/libtor-trace.a
+# ADD_C_FILE: INSERT SOURCES HERE.
+LIBTOR_TRACE_A_SOURCES = \
+ src/lib/trace/trace.c
+
# ADD_C_FILE: INSERT HEADERS HERE.
TRACEHEADERS = \
src/lib/trace/trace.h \
src/lib/trace/events.h
-if USE_EVENT_TRACING_DEBUG
+if USE_TRACING_INSTRUMENTATION_LOG_DEBUG
TRACEHEADERS += \
src/lib/trace/debug.h
endif
-# ADD_C_FILE: INSERT SOURCES HERE.
-src_lib_libtor_trace_a_SOURCES = \
- src/lib/trace/trace.c
+src_lib_libtor_trace_a_SOURCES = $(LIBTOR_TRACE_A_SOURCES)
noinst_HEADERS+= $(TRACEHEADERS)