diff options
author | Lukas Larsson <[email protected]> | 2014-06-05 09:07:15 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-06-05 09:07:15 +0200 |
commit | de1f992227d6c880ad899446a62a2b58e43f1e21 (patch) | |
tree | 24afbdd8887b7d84833ebd814bacbad647278794 /erts/emulator/beam | |
parent | a0ab904aaa6ddef9af640cfc88c7d8dd221a1fe5 (diff) | |
parent | da63a1a2eb360c2bc212ab0f38ea1ef2609fbd60 (diff) | |
download | otp-de1f992227d6c880ad899446a62a2b58e43f1e21.tar.gz otp-de1f992227d6c880ad899446a62a2b58e43f1e21.tar.bz2 otp-de1f992227d6c880ad899446a62a2b58e43f1e21.zip |
Merge branch 'maint'
* maint:
erts: tracing on send now works for registered processes
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/bif.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c index 06a1230ca0..fcbeb6cf5c 100644 --- a/erts/emulator/beam/bif.c +++ b/erts/emulator/beam/bif.c @@ -1886,8 +1886,13 @@ do_send(Process *p, Eterm to, Eterm msg, int suspend, Eterm *refp) { Eterm id = erts_whereis_name_to_id(p, to); rp = erts_proc_lookup(id); - if (rp) + if (rp) { + if (IS_TRACED(p)) + trace_send(p, to, msg); + if (ERTS_PROC_GET_SAVED_CALLS_BUF(p)) + save_calls(p, &exp_send); goto send_message; + } pt = erts_port_lookup(id, (erts_port_synchronous_ops |