aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schultz <[email protected]>2016-10-12 10:11:14 +0200
committerAndreas Schultz <[email protected]>2016-10-13 14:21:47 +0200
commit9afdfd47d96ba57f87f34dfe43b55dac3e481b43 (patch)
tree4334104f0542276244fa67be9c27a0538067d7e6 /lib
parent9c013e2f9f7e32de38dc9640038aee1840d68e04 (diff)
downloadotp-9afdfd47d96ba57f87f34dfe43b55dac3e481b43.tar.gz
otp-9afdfd47d96ba57f87f34dfe43b55dac3e481b43.tar.bz2
otp-9afdfd47d96ba57f87f34dfe43b55dac3e481b43.zip
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/tools/src/fprof.erl6
1 files changed, 6 insertions, 0 deletions
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) ->