Tor  0.4.7.0-alpha-dev
trace_probes_circuit.c
Go to the documentation of this file.
1 /* Copyright (c) 2020-2021, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
3 
4 /**
5  * \file trace_probes_circuit.c
6  * \brief Tracepoint provider source file for the circuit subsystem. Probes
7  * are generated within this C file for LTTng-UST
8  **/
9 
10 #include "orconfig.h"
11 
12 /*
13  * Following section is specific to LTTng-UST.
14  */
15 #ifdef USE_TRACING_INSTRUMENTATION_LTTNG
16 
17 /* Header files that the probes need. */
18 #include "core/or/circuitlist.h"
19 #include "core/or/crypt_path_st.h"
20 #include "core/or/extend_info_st.h"
21 #include "core/or/or.h"
22 #include "core/or/or_circuit_st.h"
24 
25 #define TRACEPOINT_DEFINE
26 #define TRACEPOINT_CREATE_PROBES
27 
28 #include "core/or/trace_probes_circuit.h"
29 
30 #endif /* defined(USE_TRACING_INSTRUMENTATION_LTTNG) */
Header file for circuitlist.c.
Path structures for origin circuits.
Extend-info structure.
Master header file for Tor-specific functionality.
Origin circuit structure.