aboutsummaryrefslogtreecommitdiff
path: root/src/or/include.am
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-01-23 14:28:10 -0500
committerNick Mathewson <nickm@torproject.org>2017-04-25 10:37:31 -0400
commitcb8ac1f33102dbe509edf50aa3cac2a106241466 (patch)
tree4b237fd3b96b1807de366ce9b74a3464605220e5 /src/or/include.am
parent91dd4a00f7d4891e24187a849933547128aeeb9f (diff)
downloadtor-cb8ac1f33102dbe509edf50aa3cac2a106241466.tar.gz
tor-cb8ac1f33102dbe509edf50aa3cac2a106241466.zip
trace: Add a basic event-tracing infrastructure.
This commit adds the src/trace directory containing the basics for our tracing subsystem. It is not used in the code base. The "src/trace/debug.h" file contains an example on how we can map our tor trace events to log_debug(). The tracing subsystem can only be enabled by tracing framework at compile time. This commit introduces the "--enable-tracing-debug" option that will make all "tor_trace()" function be maped to "log_debug()". Closes #13802 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/include.am')
-rw-r--r--src/or/include.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/include.am b/src/or/include.am
index 483ea2f2aa..4c24dd23b3 100644
--- a/src/or/include.am
+++ b/src/or/include.am
@@ -120,6 +120,7 @@ src_or_tor_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ @TOR_LDFLAGS_libev
src_or_tor_LDADD = src/or/libtor.a src/common/libor.a src/common/libor-ctime.a \
src/common/libor-crypto.a $(LIBKECCAK_TINY) $(LIBDONNA) \
src/common/libor-event.a src/trunnel/libor-trunnel.a \
+ src/trace/libor-trace.a \
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ \
@TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@ \
@TOR_LZMA_LIBS@ @TOR_ZSTD_LIBS@