plumbing-overview: minor fixes
[lttng-docs.git] / contents / understanding-lttng / core-concepts / channel / channel-overwrite-mode-vs-discard-mode.md
index c46e4c23fc7bf5fb514e23e916ed9eb066bade12..53d799b644f27df866a9a92262bfd9267d161426 100644 (file)
@@ -9,18 +9,18 @@ As events occur, they are serialized as trace data into a specific
 sub-buffer (yellow arc in the following animation) until it is full:
 when this happens, the sub-buffer is marked as consumable (red) and
 another, _empty_ (white) sub-buffer starts receiving the following
-events. The marked sub-buffer will be consumed eventually by a consumer
+events. The marked sub-buffer is eventually consumed by a consumer
 daemon (returns to white).
 
 <script type="text/javascript">
-    document.write('<div class="img img-50" id="docsvg-channel-subbuf-anim"></div>');
+    document.write('<div class="anim img img-50" id="docsvg-channel-subbuf-anim"></div>');
 
     $(document).ready(function() {
         var doc = SVG('docsvg-channel-subbuf-anim');
 
         doc.viewbox(0, 0, 2, 2);
 
-        var rb = rbBuildStdAnimated(doc, {
+        var stdRb = rbBuildStdAnimated(doc, {
             div: 5,
             oR: 0.97,
             evDur: 300,
@@ -28,7 +28,10 @@ daemon (returns to white).
             consumerAfter: 10
         });
 
-        rb.getGroup().move(1, 1);
+        stdRb.rb.getGroup().move(1, 1);
+        rbSetParentPlayIcon(doc, function() {
+            rbStdStart(stdRb);
+        });
     });
 </script>
 
@@ -67,7 +70,7 @@ Beware that, in overwrite mode, a whole sub-buffer is abandoned as soon
 as a new event doesn't find an empty sub-buffer, whereas in discard
 mode, only the event that doesn't fit is discarded.
 
-Also note that a count of lost events will be incremented and saved in
+Also note that a count of lost events is incremented and saved in
 the trace itself when an event is lost in discard mode, whereas no
 information is kept when a sub-buffer gets overwritten before being
 committed.
This page took 0.023178 seconds and 4 git commands to generate.