diff options
author | David Goulet <dgoulet@torproject.org> | 2020-02-11 11:46:34 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-07-08 09:10:08 -0400 |
commit | bf0e2ae0d0e8608277f53e0cd687a419bf99de85 (patch) | |
tree | 556b78719083cb4757edab6c04fc093ebd3b03fb /src/core/or/include.am | |
parent | c31d469f3734b0d60786deb2be9dafb3225755c3 (diff) | |
download | tor-bf0e2ae0d0e8608277f53e0cd687a419bf99de85.tar.gz tor-bf0e2ae0d0e8608277f53e0cd687a419bf99de85.zip |
trace: Add single tracepoint in circuit subsystem
This is the very first tracepoint in tor. It is in the circuit subsystem for
when a new circuit opens.
LTTng instrumentation requires lot more around a tracepoint than USDT thus
this commit only adds one tracepoint in order to outline a base to add more
tracepoints later.
The idea is that we separate subsystem into what LTTng defines as "providers"
so the circuit provider contains the tracepoint definitions for the circuit
subsystem.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/include.am')
-rw-r--r-- | src/core/or/include.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/or/include.am b/src/core/or/include.am index af7c5a6f51..819b8ab605 100644 --- a/src/core/or/include.am +++ b/src/core/or/include.am @@ -34,6 +34,7 @@ LIBTOR_APP_A_SOURCES += \ src/core/or/scheduler_vanilla.c \ src/core/or/sendme.c \ src/core/or/status.c \ + src/core/or/trace_probes_circuit.c \ src/core/or/versions.c # ADD_C_FILE: INSERT HEADERS HERE. @@ -94,5 +95,6 @@ noinst_HEADERS += \ src/core/or/socks_request_st.h \ src/core/or/status.h \ src/core/or/tor_version_st.h \ + src/core/or/trace_probes_circuit.h \ src/core/or/var_cell_st.h \ src/core/or/versions.h |