aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/io.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-02-22 20:25:04 +0100
committerSverker Eriksson <[email protected]>2018-02-22 20:31:38 +0100
commit2e2d1ea0affa72b613d291f4d9002292d878fc2b (patch)
tree75838229a860b10a9df432d5f2c131d2bee2d902 /erts/emulator/beam/io.c
parent105c2f9d8e2846857b4aa37ebec70439e429c497 (diff)
downloadotp-2e2d1ea0affa72b613d291f4d9002292d878fc2b.tar.gz
otp-2e2d1ea0affa72b613d291f4d9002292d878fc2b.tar.bz2
otp-2e2d1ea0affa72b613d291f4d9002292d878fc2b.zip
erts,observer: Add port-suspended pids to crash dump
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r--erts/emulator/beam/io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index f08fd2ac2d..13b8125a99 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -5271,6 +5271,10 @@ print_port_info(Port *p, fmtfn_t to, void *arg)
erts_doforall_monitors(ERTS_P_MONITORS(p), &prt_one_monitor, &prtd);
erts_print(to, arg, "\n");
}
+ if (p->suspended) {
+ erts_print(to, arg, "Suspended: ");
+ erts_proclist_dump(to, arg, p->suspended);
+ }
if (p->common.u.alive.reg != NULL)
erts_print(to, arg, "Registered as: %T\n", p->common.u.alive.reg->name);