diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-04-16 12:28:21 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-04-16 12:28:21 +0200 |
commit | 82670b1f264f14d6dd2502efe459d9478826a788 (patch) | |
tree | 90a9656f686cfc9886f5801781b5aed0fed4454e /erts/emulator/beam/dist.c | |
parent | c46ae84ffd858c8fa8ddb3bfbfb3607276173fb4 (diff) | |
parent | c8a0eca92cdda27c3efdde261c9c32bd445a3794 (diff) | |
download | otp-82670b1f264f14d6dd2502efe459d9478826a788.tar.gz otp-82670b1f264f14d6dd2502efe459d9478826a788.tar.bz2 otp-82670b1f264f14d6dd2502efe459d9478826a788.zip |
Merge branch 'egil/refactor-message-queue-probes'
* egil/refactor-message-queue-probes:
erts: Refactor dtrace call probes
erts: Refactor erts_queue_message
Diffstat (limited to 'erts/emulator/beam/dist.c')
-rw-r--r-- | erts/emulator/beam/dist.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c index 32f3cda4f5..142fcb3c00 100644 --- a/erts/emulator/beam/dist.c +++ b/erts/emulator/beam/dist.c @@ -388,11 +388,7 @@ static void doit_node_link_net_exits(ErtsLink *lnk, void *vnecp) Eterm tup; Eterm *hp = erts_alloc_message_heap(3,&bp,&ohp,rp,&rp_locks); tup = TUPLE2(hp, am_nodedown, name); - erts_queue_message(rp, &rp_locks, bp, tup, NIL -#ifdef USE_VM_PROBES - , NIL -#endif - ); + erts_queue_message(rp, &rp_locks, bp, tup, NIL); } erts_smp_proc_unlock(rp, rp_locks); } @@ -3325,11 +3321,7 @@ send_nodes_mon_msg(Process *rp, } ASSERT(hend == hp); - erts_queue_message(rp, rp_locksp, bp, msg, NIL -#ifdef USE_VM_PROBES - , NIL -#endif - ); + erts_queue_message(rp, rp_locksp, bp, msg, NIL); } static void |