aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-11-13 20:34:40 +0100
committerSverker Eriksson <[email protected]>2017-11-13 20:40:32 +0100
commita872592f245ec8287b15c3b5c8ed1057dba48756 (patch)
tree5c810dec40e17de4a576d6631c87556d554ae9a2 /erts/emulator
parent3f9759cc7275524736bc8bf400086f188248f9bf (diff)
downloadotp-a872592f245ec8287b15c3b5c8ed1057dba48756.tar.gz
otp-a872592f245ec8287b15c3b5c8ed1057dba48756.tar.bz2
otp-a872592f245ec8287b15c3b5c8ed1057dba48756.zip
Do not include new stats for 'allocator_sizes'
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_alloc_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c
index 68b365bd90..a515569794 100644
--- a/erts/emulator/beam/erl_alloc_util.c
+++ b/erts/emulator/beam/erl_alloc_util.c
@@ -4686,6 +4686,7 @@ info_cpool(Allctr_t *allctr,
if (hpp || szp) {
res = NIL;
+ if (!sz_only) {
add_3tup(hpp, szp, &res, am.fail_pooled,
bld_unstable_uint(hpp, szp, ERTS_ALC_CC_GIGA_VAL(allctr->cpool.stat.fail_pooled)),
bld_unstable_uint(hpp, szp, ERTS_ALC_CC_VAL(allctr->cpool.stat.fail_pooled)));
@@ -4733,6 +4734,7 @@ info_cpool(Allctr_t *allctr,
add_2tup(hpp, szp, &res,
am.carriers_size,
bld_unstable_uint(hpp, szp, csz));
+ }
if (!sz_only)
add_2tup(hpp, szp, &res,
am.carriers,