aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-11-02 08:20:11 +0100
committerLukas Larsson <[email protected]>2016-11-02 08:20:11 +0100
commit32204413c0501b4ace070842ab75afb55cfd0d02 (patch)
tree79c2c9bf32c2a0f86d264a54deab01e3bf3a0c43 /lib
parentd137c6d93db9363ff03a09e5053fa74fefd2e4d2 (diff)
parent9afdfd47d96ba57f87f34dfe43b55dac3e481b43 (diff)
downloadotp-32204413c0501b4ace070842ab75afb55cfd0d02.tar.gz
otp-32204413c0501b4ace070842ab75afb55cfd0d02.tar.bz2
otp-32204413c0501b4ace070842ab75afb55cfd0d02.zip
Merge branch 'roadrunnr/tools/fprof-send-non-exist/PR-1201/OTP-13998' into maint
* roadrunnr/tools/fprof-send-non-exist/PR-1201/OTP-13998: handle send_to_non_existing_process trace event in fprof
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) ->