aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-04-07 16:33:26 +0200
committerLukas Larsson <[email protected]>2016-04-15 15:08:52 +0200
commitcff38617986001e0a5f3f48de20acbeccceea978 (patch)
treee7db1292fe6aa167408b7a7c93289fe2cca7e5c1 /erts/emulator
parenta8d483f660578473236e987f040447f2bfdbdcc9 (diff)
downloadotp-cff38617986001e0a5f3f48de20acbeccceea978.tar.gz
otp-cff38617986001e0a5f3f48de20acbeccceea978.tar.bz2
otp-cff38617986001e0a5f3f48de20acbeccceea978.zip
erts: Don't trace on link events when port is dead
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index 18cfb1e641..b14ca77a04 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -3004,11 +3004,7 @@ port_sig_link(Port *prt, erts_aint32_t state, int op, ErtsProc2PortSigData *sigd
if (op == ERTS_PROC2PORT_SIG_EXEC)
port_link(prt, state, sigdp->u.link.to);
else {
- if (IS_TRACED_FL(prt, F_TRACE_PORTS))
- trace_port(prt, am_getting_linked, sigdp->u.link.to);
port_link_failure(sigdp->u.link.port, sigdp->u.link.to);
- if (IS_TRACED_FL(prt, F_TRACE_PORTS))
- trace_port(prt, am_unlink, sigdp->u.link.to);
}
if (sigdp->flags & ERTS_P2P_SIG_DATA_FLG_REPLY)
port_sched_op_reply(sigdp->caller, sigdp->ref, am_true);