aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc/src/seq_trace.xml
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-03-27 06:58:10 +0200
committerGitHub <[email protected]>2018-03-27 06:58:10 +0200
commite176b62e96e4452443b5be347fb7b97a561c5b3b (patch)
tree38c923cf88cec72eb3e43e380bbaefde4160abdb /lib/kernel/doc/src/seq_trace.xml
parentbebf113ecd2d6a27808fc952e1f14db78515efb3 (diff)
parent06ed628dfd013010dd6e182508c1137b9f4ba09b (diff)
downloadotp-e176b62e96e4452443b5be347fb7b97a561c5b3b.tar.gz
otp-e176b62e96e4452443b5be347fb7b97a561c5b3b.tar.bz2
otp-e176b62e96e4452443b5be347fb7b97a561c5b3b.zip
Merge pull request #1760 from jhogberg/john/erts/any-term-as-seq_trace-label/OTP-14899
Lift the type restrictions on seq_trace token labels
Diffstat (limited to 'lib/kernel/doc/src/seq_trace.xml')
-rw-r--r--lib/kernel/doc/src/seq_trace.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/kernel/doc/src/seq_trace.xml b/lib/kernel/doc/src/seq_trace.xml
index 197851021f..69eb12a8a0 100644
--- a/lib/kernel/doc/src/seq_trace.xml
+++ b/lib/kernel/doc/src/seq_trace.xml
@@ -80,13 +80,18 @@ seq_trace:set_token(OldToken), % activate the trace token again
<p>Sets the individual <c><anno>Component</anno></c> of the trace token to
<c><anno>Val</anno></c>. Returns the previous value of the component.</p>
<taglist>
- <tag><c>set_token(label, <anno>Integer</anno>)</c></tag>
+ <tag><c>set_token(label, <anno>Label</anno>)</c></tag>
<item>
- <p>The <c>label</c> component is an integer which
+ <p>The <c>label</c> component is a term which
identifies all events belonging to the same sequential
trace. If several sequential traces can be active
simultaneously, <c>label</c> is used to identify
the separate traces. Default is 0.</p>
+ <warning>
+ <p>Labels were restricted to small signed integers (28 bits)
+ prior to OTP 21. The trace token will be silenty dropped if it
+ crosses over to a node that does not support the label.</p>
+ </warning>
</item>
<tag><c>set_token(serial, SerialValue)</c></tag>
<item>