aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2019-03-27 14:24:43 +0100
committerJohn Högberg <[email protected]>2019-03-27 14:24:43 +0100
commit67fa915ab968231812b5bda56c803597eb0c756b (patch)
treeefb620fe1c0b8ba6260ccc7639a8fa120884defd
parent3ae5e291972d8c56682aa62df8e9ca015442538a (diff)
parent4a67e657845ac7f941ddfb9f64fce226324e372c (diff)
downloadotp-67fa915ab968231812b5bda56c803597eb0c756b.tar.gz
otp-67fa915ab968231812b5bda56c803597eb0c756b.tar.bz2
otp-67fa915ab968231812b5bda56c803597eb0c756b.zip
Merge branch 'john/erts/seq_trace-sigq-clearing/OTP-15704'
* john/erts/seq_trace-sigq-clearing/OTP-15704: erts: Handle all signal types when clearing seq_trace token
-rw-r--r--erts/emulator/beam/erl_proc_sig_queue.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_proc_sig_queue.c b/erts/emulator/beam/erl_proc_sig_queue.c
index aae976ccb9..4e9f177e51 100644
--- a/erts/emulator/beam/erl_proc_sig_queue.c
+++ b/erts/emulator/beam/erl_proc_sig_queue.c
@@ -3974,6 +3974,9 @@ clear_seq_trace_token(ErtsMessage *sig)
case ERTS_MON_TYPE_PROC:
case ERTS_MON_TYPE_DIST_PROC:
case ERTS_MON_TYPE_NODE:
+ case ERTS_MON_TYPE_NODES:
+ case ERTS_MON_TYPE_SUSPEND:
+ case ERTS_MON_TYPE_TIME_OFFSET:
break;
default:
ERTS_INTERNAL_ERROR("Unexpected sig type");
@@ -3990,6 +3993,11 @@ clear_seq_trace_token(ErtsMessage *sig)
case ERTS_SIG_Q_OP_LINK:
case ERTS_SIG_Q_OP_UNLINK:
case ERTS_SIG_Q_OP_TRACE_CHANGE_STATE:
+ case ERTS_SIG_Q_OP_GROUP_LEADER:
+ case ERTS_SIG_Q_OP_IS_ALIVE:
+ case ERTS_SIG_Q_OP_PROCESS_INFO:
+ case ERTS_SIG_Q_OP_SYNC_SUSPEND:
+ case ERTS_SIG_Q_OP_RPC:
break;
default: