diff options
author | Sverker Eriksson <[email protected]> | 2013-09-05 19:23:07 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-09-30 17:45:45 +0200 |
commit | 0820017c421bfab27d23aff4da474974f988006c (patch) | |
tree | 11921da008f115ce43ea3b7a3f7a0654ec7b871c /erts/emulator/beam | |
parent | d04e3d43f3a96030db0c9b8da8f88cb78f8ec8dc (diff) | |
download | otp-0820017c421bfab27d23aff4da474974f988006c.tar.gz otp-0820017c421bfab27d23aff4da474974f988006c.tar.bz2 otp-0820017c421bfab27d23aff4da474974f988006c.zip |
erts: Add mmap argument to erts_debug:get_internal_state
Diffstat (limited to 'erts/emulator/beam')
-rwxr-xr-x | erts/emulator/beam/erl_bif_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c index a4f9f787cd..7aa439f2e6 100755 --- a/erts/emulator/beam/erl_bif_info.c +++ b/erts/emulator/beam/erl_bif_info.c @@ -3289,6 +3289,9 @@ BIF_RETTYPE erts_debug_get_internal_state_1(BIF_ALIST_1) erts_smp_thr_progress_unblock(); BIF_RET(res); } + else if (ERTS_IS_ATOM_STR("mmap", BIF_ARG_1)) { + BIF_RET(erts_mmap_info(BIF_P)); + } } else if (is_tuple(BIF_ARG_1)) { Eterm* tp = tuple_val(BIF_ARG_1); |