diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-25 17:02:28 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-25 17:02:28 +0200 |
commit | 488c6f0e82d9803bd5601768d455a53b83e383e9 (patch) | |
tree | 1cb2179a09bf8b5a68b297f79397e249238c5c5b /lib/runtime_tools | |
parent | 8a94e43b92c7413abb47093e20f1aef3085b14e4 (diff) | |
download | otp-488c6f0e82d9803bd5601768d455a53b83e383e9.tar.gz otp-488c6f0e82d9803bd5601768d455a53b83e383e9.tar.bz2 otp-488c6f0e82d9803bd5601768d455a53b83e383e9.zip |
runtime_tools: Remove obsolete debug info in dbg_SUITE
Diffstat (limited to 'lib/runtime_tools')
-rw-r--r-- | lib/runtime_tools/test/dbg_SUITE.erl | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/lib/runtime_tools/test/dbg_SUITE.erl b/lib/runtime_tools/test/dbg_SUITE.erl index 9c9d6ca352..c5b744bb08 100644 --- a/lib/runtime_tools/test/dbg_SUITE.erl +++ b/lib/runtime_tools/test/dbg_SUITE.erl @@ -447,12 +447,6 @@ file_port_schedfix1(Config) when is_list(Config) -> %% {ok,[{matched,_,_}]} = dbg:p(all, [clear]), stop(), - % Some debug code to run on all platforms, for finding the fault on genny - % Dont touch please /PaN - io:format("Trace dump by PaN BEGIN~n"), - dbg:trace_client(file,{FName, wrap, ".wraplog"},{fun(end_of_trace,Pid)-> Pid ! done; (Mesg,Pid) -> io:format("~w~n",[Mesg]),Pid end,self()}), - receive done -> ok end, - io:format("Trace dump by PaN END~n"), %% %% Get the trace result %% @@ -473,14 +467,12 @@ file_port_schedfix1(Config) when is_list(Config) -> %% %% Analyze the result %% - {Min, Max} = - lists:foldl( - fun({_Pid, M}, {Mi, Ma}) -> - {if M < Mi -> M; true -> Mi end, - if M > Ma -> M; true -> Ma end} - end, - {void, 0}, - Result), + {Min, Max} = lists:foldl(fun({_Pid, M}, {Mi, Ma}) -> + {if M < Mi -> M; true -> Mi end, + if M > Ma -> M; true -> Ma end} + end, + {void, 0}, + Result), % More PaN debug io:format("Min = ~f, Max = ~f~n",[Min,Max]), %% |