summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
authorerdgeist <>2012-05-18 08:34:35 +0000
committererdgeist <>2012-05-18 08:34:35 +0000
commit50b5c750cc01a1c14e7a1c159c96e7f3107b77f7 (patch)
tree3a09be8fc0fd5ff5ca44b566e102af2f85523e70 /ot_stats.c
parent05e0de1a5fa0efd99ada80ce8431dc69a39df0da (diff)
Need more space for top100
Diffstat (limited to 'ot_stats.c')
-rw-r--r--ot_stats.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ot_stats.c b/ot_stats.c
index 81343b8..010dec1 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -613,7 +613,10 @@ static void stats_make( int *iovec_entries, struct iovec **iovector, ot_tasktype
613 case TASK_STATS_PEERS: r += stats_peers_mrtg( r ); break; 613 case TASK_STATS_PEERS: r += stats_peers_mrtg( r ); break;
614 case TASK_STATS_SLASH24S: r += stats_slash24s_txt( r, 128 ); break; 614 case TASK_STATS_SLASH24S: r += stats_slash24s_txt( r, 128 ); break;
615 case TASK_STATS_TOP10: r += stats_top_txt( r, 10 ); break; 615 case TASK_STATS_TOP10: r += stats_top_txt( r, 10 ); break;
616 case TASK_STATS_TOP100: r += stats_top_txt( r, 100 ); break; 616 case TASK_STATS_TOP100:
617 if( !( r = iovec_increase( iovec_entries, iovector, 4*OT_STATS_TMPSIZE ) ) )
618 return;
619 r += stats_top_txt( r, 100 ); break;
617 case TASK_STATS_EVERYTHING: r += stats_return_everything( r ); break; 620 case TASK_STATS_EVERYTHING: r += stats_return_everything( r ); break;
618#ifdef WANT_SPOT_WOODPECKER 621#ifdef WANT_SPOT_WOODPECKER
619 case TASK_STATS_WOODPECKERS: r += stats_return_woodpeckers( r, 128 ); break; 622 case TASK_STATS_WOODPECKERS: r += stats_return_woodpeckers( r, 128 ); break;