aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_trace_wx.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-05-12 15:40:32 +0200
committerSiri Hansen <[email protected]>2016-05-20 09:40:56 +0200
commitebd440bfc9eb685606250a82cae352f1ee37dac6 (patch)
treedcab06a86f1d83b91c8bad145c992c002471882b /lib/observer/src/observer_trace_wx.erl
parent705011b8a223630d9800de9bd4d5cfd0b5986879 (diff)
downloadotp-ebd440bfc9eb685606250a82cae352f1ee37dac6.tar.gz
otp-ebd440bfc9eb685606250a82cae352f1ee37dac6.tar.bz2
otp-ebd440bfc9eb685606250a82cae352f1ee37dac6.zip
[observer] Allow more trace flags on procs/ports from GUI
Diffstat (limited to 'lib/observer/src/observer_trace_wx.erl')
-rw-r--r--lib/observer/src/observer_trace_wx.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/observer/src/observer_trace_wx.erl b/lib/observer/src/observer_trace_wx.erl
index f104f5bb19..7df599c602 100644
--- a/lib/observer/src/observer_trace_wx.erl
+++ b/lib/observer/src/observer_trace_wx.erl
@@ -1023,7 +1023,8 @@ dbg_flag(proc,on_link) -> sol;
dbg_flag(proc,on_first_spawn) -> sofs;
dbg_flag(proc,on_first_link) -> sofl;
dbg_flag(proc,events) -> p;
-dbg_flag(port,events) -> ports.
+dbg_flag(port,events) -> ports;
+dbg_flag(_,Flag) -> Flag.
textformat(Trace) when element(1, Trace) == trace_ts, tuple_size(Trace) >= 4 ->
format_trace(Trace, tuple_size(Trace)-1, element(tuple_size(Trace),Trace));