blob: 4ee5a97dff3dd454c52ee06f941bb556b75ec495 (
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
|
/* Copyright (c) 2020-2021, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file trace_probes_circuit.c
* \brief Tracepoint provider source file for the circuit 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/circuitlist.h"
#include "core/or/crypt_path_st.h"
#include "core/or/extend_info_st.h"
#include "core/or/or.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_circuit.h"
#endif /* defined(USE_TRACING_INSTRUMENTATION_LTTNG) */
|