diff options
author | Sverker Eriksson <[email protected]> | 2013-09-26 22:36:34 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-09-30 17:45:47 +0200 |
commit | 059d8b76011f960cc5938501a33002b051b0bca2 (patch) | |
tree | be0900966bbc9186356a59cf8e675ff0da49991f /erts/emulator/sys/common/erl_mseg.c | |
parent | 8d5b9a53a1fd5e2264d705911af23cd484ccead0 (diff) | |
download | otp-059d8b76011f960cc5938501a33002b051b0bca2.tar.gz otp-059d8b76011f960cc5938501a33002b051b0bca2.tar.bz2 otp-059d8b76011f960cc5938501a33002b051b0bca2.zip |
erts: Add erts_mmap stats
As part of erlang:system_info({allocator,mseg_alloc})
and erl_crash.dump
Diffstat (limited to 'erts/emulator/sys/common/erl_mseg.c')
-rw-r--r-- | erts/emulator/sys/common/erl_mseg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/sys/common/erl_mseg.c b/erts/emulator/sys/common/erl_mseg.c index 13f8069cf5..b165f76c96 100644 --- a/erts/emulator/sys/common/erl_mseg.c +++ b/erts/emulator/sys/common/erl_mseg.c @@ -1070,7 +1070,9 @@ info_options(ErtsMsegAllctr_t *ma, Uint **hpp, Uint *szp) { - Eterm res = THE_NON_VALUE; + Eterm res; + + res = erts_mmap_info_options(prefix, print_to_p, print_to_arg, hpp, szp); if (print_to_p) { int to = *print_to_p; @@ -1085,7 +1087,6 @@ info_options(ErtsMsegAllctr_t *ma, if (!atoms_initialized) init_atoms(ma); - res = NIL; add_2tup(hpp, szp, &res, am.mcs, bld_uint(hpp, szp, ma->max_cache_size)); |