mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Clarify resource dumps and include them in the main debugging dump.
This commit is contained in:
@@ -150,13 +150,17 @@ lp_dump(resource *r)
|
||||
{
|
||||
linpool *m = (linpool *) r;
|
||||
struct lp_chunk *c;
|
||||
int cnt;
|
||||
int cnt, cntl;
|
||||
|
||||
for(cnt=0, c=m->first; c; c=c->next, cnt++)
|
||||
;
|
||||
debug("(chunk=%d threshold=%d count=%d total=%d)\n",
|
||||
for(cntl=0, c=m->first_large; c; c=c->next, cntl++)
|
||||
;
|
||||
debug("(chunk=%d threshold=%d count=%d+%d total=%d+%d)\n",
|
||||
m->chunk_size,
|
||||
m->threshold,
|
||||
cnt,
|
||||
m->total);
|
||||
cntl,
|
||||
m->total,
|
||||
m->total_large);
|
||||
}
|
||||
|
Reference in New Issue
Block a user