tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

trace_probes_cc.c (930B)


      1 /* Copyright (c) 2021, The Tor Project, Inc. */
      2 /* See LICENSE for licensing information */
      3 
      4 /**
      5 * \file trace_probes_cc.c
      6 * \brief Tracepoint provider source file for the cc 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/or.h"
     19 #include "core/or/channel.h"
     20 #include "core/or/circuit_st.h"
     21 #include "core/or/circuitlist.h"
     22 #include "core/or/congestion_control_common.h"
     23 #include "core/or/congestion_control_st.h"
     24 #include "core/or/connection_st.h"
     25 #include "core/or/edge_connection_st.h"
     26 #include "core/or/or_circuit_st.h"
     27 #include "core/or/origin_circuit_st.h"
     28 
     29 #define TRACEPOINT_DEFINE
     30 #define TRACEPOINT_CREATE_PROBES
     31 
     32 #include "core/or/trace_probes_cc.h"
     33 
     34 #endif /* defined(USE_TRACING_INSTRUMENTATION_LTTNG) */