diff options
author | Sverker Eriksson <[email protected]> | 2018-02-22 17:28:51 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-02-22 20:31:30 +0100 |
commit | 105c2f9d8e2846857b4aa37ebec70439e429c497 (patch) | |
tree | b8a9556d9eb2088bdee3253077230794f49d99d1 /lib/observer/src/crashdump_viewer.erl | |
parent | 083973ccb86d1cf826821832285f1443200f6668 (diff) | |
download | otp-105c2f9d8e2846857b4aa37ebec70439e429c497.tar.gz otp-105c2f9d8e2846857b4aa37ebec70439e429c497.tar.bz2 otp-105c2f9d8e2846857b4aa37ebec70439e429c497.zip |
erts,observer: Add port states and flags to crash dump
Diffstat (limited to 'lib/observer/src/crashdump_viewer.erl')
-rw-r--r-- | lib/observer/src/crashdump_viewer.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/observer/src/crashdump_viewer.erl b/lib/observer/src/crashdump_viewer.erl index 6b85dc6bc2..07c2e1cd47 100644 --- a/lib/observer/src/crashdump_viewer.erl +++ b/lib/observer/src/crashdump_viewer.erl @@ -1648,6 +1648,10 @@ port_to_tuple("#Port<"++Port) -> get_portinfo(Fd,Port) -> case line_head(Fd) of + "State" -> + get_portinfo(Fd,Port#port{state=bytes(Fd)}); + "Task Flags" -> + get_portinfo(Fd,Port#port{task_flags=bytes(Fd)}); "Slot" -> %% stored as integer so we can sort on it get_portinfo(Fd,Port#port{slot=list_to_integer(bytes(Fd))}); |