plumbing-overview: minor fixes
[lttng-docs.git] / contents / understanding-lttng / core-concepts / channel / channel-timers.md
index d98c0aff01654180e420337579c2d74bfb570e6e..ab54115193563a59ad0a4a3f84c77cf93b26cac7 100644 (file)
@@ -10,7 +10,7 @@ may be used to ensure that event data is consumed and committed to
 trace files periodically in case of a low event throughput:
 
 <script type="text/javascript">
-    document.write('<div class="img img-50" id="docsvg-channel-switch-timer"></div>');
+    document.write('<div class="anim img img-50" id="docsvg-channel-switch-timer"></div>');
 
     $(document).ready(function() {
         var doc = SVG('docsvg-channel-switch-timer');
@@ -62,10 +62,11 @@ trace files periodically in case of a low event throughput:
             rb.addEvent(curSubBuf % div, evDur, onEventAdded);
         };
 
-        rb.addEvent(0, evDur, onEventAdded);
         rb.markSubBuf(0, 'cur');
-
         rb.getGroup().move(1, 1);
+        rbSetParentPlayIcon(doc, function() {
+            rb.addEvent(0, evDur, onEventAdded);
+        });
     });
 </script>
 
This page took 0.023023 seconds and 4 git commands to generate.