aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-12-01 10:40:22 +0100
committerSiri Hansen <[email protected]>2016-12-01 10:40:22 +0100
commit8287c94e9674f506b5623128b821bb0a97c54f4a (patch)
tree38257067d64f5fb6246f7ccc751a97c80cbafa80 /lib/observer/src
parente91fc9bcab7977969c105fa7b8d061dfd6c3ab3f (diff)
downloadotp-8287c94e9674f506b5623128b821bb0a97c54f4a.tar.gz
otp-8287c94e9674f506b5623128b821bb0a97c54f4a.tar.bz2
otp-8287c94e9674f506b5623128b821bb0a97c54f4a.zip
[observer] Show monitored ports in process details view
This is a bugfix. Prior to this, only monitored processes were listed under "Monitored" in the process details view. Now ports are also shown.
Diffstat (limited to 'lib/observer/src')
-rw-r--r--lib/observer/src/observer_procinfo.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_procinfo.erl b/lib/observer/src/observer_procinfo.erl
index 620979dcc9..c13b164ff9 100644
--- a/lib/observer/src/observer_procinfo.erl
+++ b/lib/observer/src/observer_procinfo.erl
@@ -434,7 +434,7 @@ get_gc_info(Arg) ->
filter_monitor_info() ->
fun(Data) ->
Ms = proplists:get_value(monitors, Data),
- [Pid || {process, Pid} <- Ms]
+ [Id || {_Type, Id} <- Ms] % Type is process or port
end.
stringify_bins(Data) ->