From 9afdfd47d96ba57f87f34dfe43b55dac3e481b43 Mon Sep 17 00:00:00 2001 From: Andreas Schultz Date: Wed, 12 Oct 2016 10:11:14 +0200 Subject: handle send_to_non_existing_process trace event in fprof fprof did not handle this trace event. Sending to a non existing process should not be much different from sending to an existing process, so duplicate that logic. --- lib/tools/src/fprof.erl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') diff --git a/lib/tools/src/fprof.erl b/lib/tools/src/fprof.erl index 1291a3e5ec..d1a4624419 100644 --- a/lib/tools/src/fprof.erl +++ b/lib/tools/src/fprof.erl @@ -1702,6 +1702,12 @@ trace_handler({trace_ts, Pid, send, _OtherPid, _Msg, TS} = Trace, dump_stack(Dump, get(Pid), Trace), TS; %% +%% send_to_non_existing_process +trace_handler({trace_ts, Pid, send_to_non_existing_process, _OtherPid, _Msg, TS} = Trace, + _Table, _, Dump) -> + dump_stack(Dump, get(Pid), Trace), + TS; +%% %% 'receive' trace_handler({trace_ts, Pid, 'receive', _Msg, TS} = Trace, _Table, _, Dump) -> -- cgit v1.2.3