blob: d52646da4ffc90ccb43197bc2e49f1077fe5cf81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* Copyright (c) 2021, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file trace_probes_cc.c
* \brief Tracepoint provider source file for the cc subsystem. Probes
* are generated within this C file for LTTng-UST
**/
#include "orconfig.h"
/*
* Following section is specific to LTTng-UST.
*/
#ifdef USE_TRACING_INSTRUMENTATION_LTTNG
/* Header files that the probes need. */
#include "core/or/or.h"
#include "core/or/channel.h"
#include "core/or/circuit_st.h"
#include "core/or/circuitlist.h"
#include "core/or/congestion_control_st.h"
#include "core/or/connection_st.h"
#include "core/or/edge_connection_st.h"
#include "core/or/or_circuit_st.h"
#include "core/or/origin_circuit_st.h"
#define TRACEPOINT_DEFINE
#define TRACEPOINT_CREATE_PROBES
#include "core/or/trace_probes_cc.h"
#endif /* defined(USE_TRACING_INSTRUMENTATION_LTTNG) */
|