diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-20 20:23:56 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-29 18:31:38 +0200 |
commit | a1f50deb9c87cbb7117baf22928c6cd7075ac2e3 (patch) | |
tree | 579a4da785016da7d4470dd5b9eb64b4d533b785 /erts/emulator/beam/erl_trace.c | |
parent | 4e90ab912839db19f046d5eb362fa8ce92bcf67d (diff) | |
download | otp-a1f50deb9c87cbb7117baf22928c6cd7075ac2e3.tar.gz otp-a1f50deb9c87cbb7117baf22928c6cd7075ac2e3.tar.bz2 otp-a1f50deb9c87cbb7117baf22928c6cd7075ac2e3.zip |
erts: Fix return_to trace callback
Diffstat (limited to 'erts/emulator/beam/erl_trace.c')
-rw-r--r-- | erts/emulator/beam/erl_trace.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c index 7b52959dd8..56899f574a 100644 --- a/erts/emulator/beam/erl_trace.c +++ b/erts/emulator/beam/erl_trace.c @@ -406,10 +406,6 @@ is_tracer_enabled(Process* c_p, ErtsProcLocks c_p_locks, ErtsTracerNif **tnif_ret, enum ErtsTracerOpt topt, Eterm tag); -#define SEND_TO_TRACER(c_p, tag, msg) \ - send_to_tracer_nif(c_p, &(c_p)->common, (c_p)->common.id, NULL, \ - TRACE_FUN_DEFAULT, tag, msg, THE_NON_VALUE) - static Uint active_sched; void @@ -966,7 +962,8 @@ erts_trace_return_to(Process *p, BeamInstr *pc) mfa = TUPLE3(hp, code_ptr[0], code_ptr[1], make_small(code_ptr[2])); } - SEND_TO_TRACER(p, am_return_to, mfa); + send_to_tracer_nif(p, &p->common, p->common.id, NULL, TRACE_FUN_T_CALL, + am_return_to, mfa, THE_NON_VALUE); } |