diff options
author | Sverker Eriksson <[email protected]> | 2018-04-18 14:56:43 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-04-18 14:56:43 +0200 |
commit | 0bcba3f1c9afc9a4164bf78641844a293768a7ec (patch) | |
tree | 3a0ff47af237c3c17c4542f0989379298b622761 /erts/emulator/beam/erl_bif_info.c | |
parent | 46a89739ebe59bb2d2b44639c9ea9869757d4b58 (diff) | |
parent | 6915407d64fca30896929bbc717408595a63d45b (diff) | |
download | otp-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.c | 9 |
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); |