diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-11-19 19:36:08 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-11-19 19:36:08 +0100 |
commit | 6ff15f23c68db356bbad6ab5f939c191b58d453d (patch) | |
tree | c7bf6c11844abf13aa7ff4511949ec1261a8c376 /erts/emulator/beam/erl_trace.c | |
parent | 02f038355d16e9b6474837727878f58e4ca669c8 (diff) | |
download | otp-6ff15f23c68db356bbad6ab5f939c191b58d453d.tar.gz otp-6ff15f23c68db356bbad6ab5f939c191b58d453d.tar.bz2 otp-6ff15f23c68db356bbad6ab5f939c191b58d453d.zip |
Refactor have seq_trace token test
Diffstat (limited to 'erts/emulator/beam/erl_trace.c')
-rw-r--r-- | erts/emulator/beam/erl_trace.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c index d02f1f7213..b774ba97af 100644 --- a/erts/emulator/beam/erl_trace.c +++ b/erts/emulator/beam/erl_trace.c @@ -1046,11 +1046,7 @@ seq_trace_update_send(Process *p) { Eterm seq_tracer = erts_get_system_seq_tracer(); ASSERT((is_tuple(SEQ_TRACE_TOKEN(p)) || is_nil(SEQ_TRACE_TOKEN(p)))); - if ( (p->common.id == seq_tracer) || (SEQ_TRACE_TOKEN(p) == NIL) -#ifdef USE_VM_PROBES - || (SEQ_TRACE_TOKEN(p) == am_have_dt_utag) -#endif - ) { + if ((p->common.id == seq_tracer) || have_no_seqtrace(SEQ_TRACE_TOKEN(p))) { return 0; } SEQ_TRACE_TOKEN_SENDER(p) = p->common.id; |