diff options
| author | Jason Evans <jasone@canonware.com> | 2017-01-03 07:27:42 -0800 |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2017-01-06 18:58:45 -0800 |
| commit | 3dc4e83ccb448436894fbbd0b46f126cff0c1416 (patch) | |
| tree | 4e1daf065fd1b1e157b2f9b6fc66e7a9e030a9ed /src/stats.c | |
| parent | 027ace8519eb4ed736568082cc7e96b3f9423de8 (diff) | |
| download | platform_external_jemalloc_new-3dc4e83ccb448436894fbbd0b46f126cff0c1416.tar.gz platform_external_jemalloc_new-3dc4e83ccb448436894fbbd0b46f126cff0c1416.tar.bz2 platform_external_jemalloc_new-3dc4e83ccb448436894fbbd0b46f126cff0c1416.zip | |
Add MALLCTL_ARENAS_ALL.
Add the MALLCTL_ARENAS_ALL cpp macro as a fixed index for use
in accessing the arena.<i>.{purge,decay,dss} and stats.arenas.<i>.*
mallctls, and deprecate access via the arenas.narenas index (to be
removed in 6.0.0).
Diffstat (limited to 'src/stats.c')
| -rw-r--r-- | src/stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c index 0a3deaaa..ad7d7ba4 100644 --- a/src/stats.c +++ b/src/stats.c @@ -841,7 +841,7 @@ stats_print_helper(void (*write_cb)(void *, const char *), void *cbopaque, "\nMerged arenas stats:\n"); } stats_arena_print(write_cb, cbopaque, json, - narenas, bins, large); + MALLCTL_ARENAS_ALL, bins, large); if (json) { malloc_cprintf(write_cb, cbopaque, "\t\t\t}%s\n", (ninitialized > 1) ? |
