summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@persephoneslair.org>2012-09-13 02:44:21 -0700
committerAndrea Shepard <andrea@torproject.org>2012-10-08 03:06:09 -0700
commit7138a4adac9592edbb73d3983cc51db153c76edf (patch)
treef0314640762ef7ed2a3975bff8bae5226629e2f2 /src/or/main.c
parenta9a75ee59a719f938b02d48c6df3db649cf32cb9 (diff)
downloadtor-7138a4adac9592edbb73d3983cc51db153c76edf.tar.gz
tor-7138a4adac9592edbb73d3983cc51db153c76edf.zip
Keep better statistics about channels and dump them from dumpstats() on SIGUSR1
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 908e490741..2a3e0e140e 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2167,10 +2167,12 @@ dumpstats(int severity)
}
}
}
- /* TODO add dump for channels with circuit_dump_by_chan() */
circuit_dump_by_conn(conn, severity); /* dump info about all the circuits
* using this conn */
} SMARTLIST_FOREACH_END(conn);
+
+ channel_dumpstats(severity);
+
log(severity, LD_NET,
"Cells processed: "U64_FORMAT" padding\n"
" "U64_FORMAT" create\n"