summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorTaylor Yu <catalyst@torproject.org>2018-12-17 09:45:09 -0600
committerTaylor Yu <catalyst@torproject.org>2018-12-20 18:46:17 -0600
commitb0ae6a332a0882a670b3a2bacf5c70b69936e4bc (patch)
treed555251c0f56c7cf609e51c800bf1f858932d5ce /src/app
parentb0f974633ac17e07c3ab93ecea9337506bb8d583 (diff)
downloadtor-b0ae6a332a0882a670b3a2bacf5c70b69936e4bc.tar.gz
tor-b0ae6a332a0882a670b3a2bacf5c70b69936e4bc.zip
Add bootstrap tracker subsystem
Add a tracker for bootstrap progress, tracking events related to origin circuit and ORCONN states. This uses the ocirc_event and orconn_event publish-subscribe subsystems. Part of ticket 27167.
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main/subsystem_list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/main/subsystem_list.c b/src/app/main/subsystem_list.c
index ef9b8142d9..2f2586ac15 100644
--- a/src/app/main/subsystem_list.c
+++ b/src/app/main/subsystem_list.c
@@ -10,6 +10,7 @@
#include "core/or/ocirc_event_sys.h"
#include "core/or/orconn_event_sys.h"
+#include "feature/control/btrack_sys.h"
#include "lib/compress/compress_sys.h"
#include "lib/crypt_ops/crypto_sys.h"
#include "lib/err/torerr_sys.h"
@@ -39,6 +40,7 @@ const subsys_fns_t *tor_subsystems[] = {
&sys_tortls, /* -50 */
&sys_orconn_event, /* -40 */
&sys_ocirc_event, /* -39 */
+ &sys_btrack, /* -30 */
};
const unsigned n_tor_subsystems = ARRAY_LENGTH(tor_subsystems);