aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_trace.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-06-17 08:31:51 +0200
committerGitHub <[email protected]>2019-06-17 08:31:51 +0200
commitf77f8ba0509e5edd8ff89bd9313dfbb645f4140c (patch)
tree28eb85b31d1d6365ea32e2b508fd64025e15e2a1 /erts/emulator/beam/erl_trace.c
parentbfc7e7aab9d08d0fc34a7ba85b3928af5f6578c6 (diff)
parent5140a22b03b010d3e8fae68f2f095b61c720939f (diff)
downloadotp-f77f8ba0509e5edd8ff89bd9313dfbb645f4140c.tar.gz
otp-f77f8ba0509e5edd8ff89bd9313dfbb645f4140c.tar.bz2
otp-f77f8ba0509e5edd8ff89bd9313dfbb645f4140c.zip
Merge pull request #2289 from gomoripeti/doc_message_in_trace
Document extra message element also where trace message format is described
Diffstat (limited to 'erts/emulator/beam/erl_trace.c')
-rw-r--r--erts/emulator/beam/erl_trace.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c
index c85a7df5ec..9c835ac357 100644
--- a/erts/emulator/beam/erl_trace.c
+++ b/erts/emulator/beam/erl_trace.c
@@ -713,7 +713,9 @@ trace_sched(Process *p, ErtsProcLocks locks, Eterm what)
trace_sched_aux(p, locks, what);
}
-/* Send {trace_ts, Pid, Send, Msg, DestPid, Timestamp}
+/* Send {trace_ts, Pid, Send, Msg, DestPid, PamResult, Timestamp}
+ * or {trace_ts, Pid, Send, Msg, DestPid, Timestamp}
+ * or {trace, Pid, Send, Msg, DestPid, PamResult}
* or {trace, Pid, Send, Msg, DestPid}
*
* where 'Send' is 'send' or 'send_to_non_existing_process'.
@@ -773,7 +775,9 @@ trace_send(Process *p, Eterm to, Eterm msg)
erts_match_set_release_result_trace(p, pam_result);
}
-/* Send {trace_ts, Pid, receive, Msg, Timestamp}
+/* Send {trace_ts, Pid, receive, Msg, PamResult, Timestamp}
+ * or {trace_ts, Pid, receive, Msg, Timestamp}
+ * or {trace, Pid, receive, Msg, PamResult}
* or {trace, Pid, receive, Msg}
*/
void