aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_info.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-04-18 14:56:43 +0200
committerSverker Eriksson <[email protected]>2018-04-18 14:56:43 +0200
commit0bcba3f1c9afc9a4164bf78641844a293768a7ec (patch)
tree3a0ff47af237c3c17c4542f0989379298b622761 /erts/emulator/beam/erl_bif_info.c
parent46a89739ebe59bb2d2b44639c9ea9869757d4b58 (diff)
parent6915407d64fca30896929bbc717408595a63d45b (diff)
downloadotp-0bcba3f1c9afc9a4164bf78641844a293768a7ec.tar.gz
otp-0bcba3f1c9afc9a4164bf78641844a293768a7ec.tar.bz2
otp-0bcba3f1c9afc9a4164bf78641844a293768a7ec.zip
Merge branch 'sverker/lock-check-matrix'
Diffstat (limited to 'erts/emulator/beam/erl_bif_info.c')
-rw-r--r--erts/emulator/beam/erl_bif_info.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c
index d443e12409..89e3d3f43e 100644
--- a/erts/emulator/beam/erl_bif_info.c
+++ b/erts/emulator/beam/erl_bif_info.c
@@ -4055,6 +4055,15 @@ BIF_RETTYPE erts_debug_get_internal_state_1(BIF_ALIST_1)
BIF_RET(am_false);
#endif
}
+ else if (ERTS_IS_ATOM_STR("lc_graph", BIF_ARG_1)) {
+#ifdef ERTS_ENABLE_LOCK_CHECK
+ Eterm res = erts_lc_dump_graph();
+ BIF_RET(res);
+#else
+ BIF_RET(am_notsup);
+#endif
+ }
+
}
else if (is_tuple(BIF_ARG_1)) {
Eterm* tp = tuple_val(BIF_ARG_1);