diff options
author | Andreas Schultz <[email protected]> | 2016-10-12 10:11:14 +0200 |
---|---|---|
committer | Andreas Schultz <[email protected]> | 2016-10-13 14:21:47 +0200 |
commit | 9afdfd47d96ba57f87f34dfe43b55dac3e481b43 (patch) | |
tree | 4334104f0542276244fa67be9c27a0538067d7e6 /lib/tools | |
parent | 9c013e2f9f7e32de38dc9640038aee1840d68e04 (diff) | |
download | otp-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/tools')
-rw-r--r-- | lib/tools/src/fprof.erl | 6 |
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) -> |