summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/erl_trace.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <egil@erlang.org>2016-03-03 17:13:32 +0100
committerBjörn-Egil Dahlberg <egil@erlang.org>2016-04-29 18:31:34 +0200
commitf5fa3ac80d2f7fcd11ac3e702c29df5ef6c204db (patch)
tree1f0f6c5cf5ccc7bdbc03f5949274c8107713848c /erts/emulator/beam/erl_trace.c
parentcc290266f06458c8009182167418ef9f1e21a794 (diff)
downloaderlang-f5fa3ac80d2f7fcd11ac3e702c29df5ef6c204db.tar.gz
runtime_tools: Add lttng 'call' tracing
Diffstat (limited to 'erts/emulator/beam/erl_trace.c')
-rw-r--r--erts/emulator/beam/erl_trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c
index fa1d03c588..0842c0c0a4 100644
--- a/erts/emulator/beam/erl_trace.c
+++ b/erts/emulator/beam/erl_trace.c
@@ -1000,7 +1000,7 @@ erts_trace_return(Process* p, BeamInstr* fi, Eterm retval, ErtsTracer *tracer)
mfa = TUPLE3(hp, mod, name, make_small(arity));
hp += 4;
send_to_tracer_nif_raw(p, NULL, *tracer, *tracee_flags, p->common.id,
- NULL, TRACE_FUN_DEFAULT, am_return_from, mfa, retval, am_true);
+ NULL, TRACE_FUN_CALL, am_return_from, mfa, retval, am_true);
}
/* Send {trace_ts, Pid, exception_from, {Mod, Name, Arity}, {Class,Value},
@@ -1055,7 +1055,7 @@ erts_trace_exception(Process* p, BeamInstr mfa[3], Eterm class, Eterm value,
cv = TUPLE2(hp, class, value);
hp += 3;
send_to_tracer_nif_raw(p, NULL, *tracer, *tracee_flags, p->common.id,
- NULL, TRACE_FUN_DEFAULT, am_exception_from, mfa_tuple, cv, am_true);
+ NULL, TRACE_FUN_CALL, am_exception_from, mfa_tuple, cv, am_true);
}
/*