mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-23 11:22:13 +03:00
Omit bin stats rows with no data
This commit is contained in:
parent
ea013d8fa4
commit
6c5a3a24dd
1 changed files with 4 additions and 0 deletions
|
|
@ -379,6 +379,10 @@ stats_arena_bins_print(emitter_t *emitter, bool mutex, unsigned i, uint64_t upti
|
|||
" ---\n");
|
||||
}
|
||||
|
||||
if (in_gap && !emitter_outputs_json(emitter)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
CTL_LEAF(arenas_bin_mib, 3, "size", ®_size, size_t);
|
||||
CTL_LEAF(arenas_bin_mib, 3, "nregs", &nregs, uint32_t);
|
||||
CTL_LEAF(arenas_bin_mib, 3, "slab_size", &slab_size, size_t);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue