diff options
author | Andrea Shepard <andrea@persephoneslair.org> | 2012-09-13 02:44:21 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2012-10-08 03:06:09 -0700 |
commit | 7138a4adac9592edbb73d3983cc51db153c76edf (patch) | |
tree | f0314640762ef7ed2a3975bff8bae5226629e2f2 /src/or/main.c | |
parent | a9a75ee59a719f938b02d48c6df3db649cf32cb9 (diff) | |
download | tor-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.c | 4 |
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" |