aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-09-05 19:23:07 +0200
committerSverker Eriksson <[email protected]>2013-09-30 17:45:45 +0200
commit0820017c421bfab27d23aff4da474974f988006c (patch)
tree11921da008f115ce43ea3b7a3f7a0654ec7b871c /erts/emulator/beam
parentd04e3d43f3a96030db0c9b8da8f88cb78f8ec8dc (diff)
downloadotp-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-xerts/emulator/beam/erl_bif_info.c3
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);