aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/trace_probes_circuit.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-03-11 10:54:47 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-07-08 09:18:33 -0400
commit3604d86a016b6202a5864a81f46addc087658b8c (patch)
treef442658ec6439a363d31b802f30cdd32cfff5429 /src/core/or/trace_probes_circuit.h
parentd80c34d214f88c0831ce7cf7595c5e6e8b6fa168 (diff)
downloadtor-3604d86a016b6202a5864a81f46addc087658b8c.tar.gz
tor-3604d86a016b6202a5864a81f46addc087658b8c.zip
trace: Helper macro to disambiguate identifiers
In order to disambiguate the subsystem and event_name identifiers in the tor_trace() macro, add TR_SUBSYS() and TR_EV() which help to identify the parameters of tor_trace() explicitly. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/trace_probes_circuit.h')
-rw-r--r--src/core/or/trace_probes_circuit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/trace_probes_circuit.h b/src/core/or/trace_probes_circuit.h
index 81bf761df9..59f53c324a 100644
--- a/src/core/or/trace_probes_circuit.h
+++ b/src/core/or/trace_probes_circuit.h
@@ -10,7 +10,7 @@
#ifndef TOR_TRACE_PROBES_CIRCUIT_H
#define TOR_TRACE_PROBES_CIRCUIT_H
-#include "orconfig.h"
+#include "lib/trace/events.h"
/* We only build the following if LTTng instrumentation has been enabled. */
#ifdef USE_TRACING_INSTRUMENTATION_LTTNG