aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/erlang.xml
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-02-29 15:09:26 +0100
committerLukas Larsson <[email protected]>2016-04-15 15:07:38 +0200
commit3738103d0b1195e570a7525c4370cd490a5368aa (patch)
tree24fd26a93799a643c7d672ef0d794696057c0187 /erts/doc/src/erlang.xml
parentb8ca148ba2c98a2bec923dbac6ed52a80aa167ca (diff)
downloadotp-3738103d0b1195e570a7525c4370cd490a5368aa.tar.gz
otp-3738103d0b1195e570a7525c4370cd490a5368aa.tar.bz2
otp-3738103d0b1195e570a7525c4370cd490a5368aa.zip
erts: Add 'spawned' trace event to 'procs' trace flag
OTP-13497 This trace event is triggered when a process is created from the process that is created.
Diffstat (limited to 'erts/doc/src/erlang.xml')
-rw-r--r--erts/doc/src/erlang.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index abc0d56983..d6fe585c8d 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -8464,6 +8464,7 @@ timestamp() ->
<item>
<p>Traces process-related events.</p>
<p>Message tags: <c><seealso marker="#trace_3_trace_messages_spawn">spawn</seealso></c>,
+ <c><seealso marker="#trace_3_trace_messages_spawned">spawned</seealso></c>,
<c><seealso marker="#trace_3_trace_messages_exit">exit</seealso></c>,
<c><seealso marker="#trace_3_trace_messages_register">register</seealso></c>,
<c><seealso marker="#trace_3_trace_messages_unregister">unregister</seealso></c>,
@@ -8705,6 +8706,16 @@ timestamp() ->
but can be any term if the spawn is erroneous.</p>
</item>
<tag>
+ <marker id="trace_3_trace_messages_spawned"></marker>
+ <c>{trace, Pid, spawned, Pid2, {M, F, Args}}</c>
+ </tag>
+ <item>
+ <p>When <c>Pid</c> is spawned by process <c>Pid2</c> with
+ the specified function call as entry point.</p>
+ <p><c>Args</c> is supposed to be the argument list,
+ but can be any term if the spawn is erroneous.</p>
+ </item>
+ <tag>
<marker id="trace_3_trace_messages_exit"></marker>
<c>{trace, Pid, exit, Reason}</c>
</tag>