Tests: test_kernel: add comments regarding the filling of buffers
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 24 Feb 2022 19:05:16 +0000 (14:05 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 24 Feb 2022 19:05:16 +0000 (14:05 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I3a8652d7dd95c015d6978349d166e8f291c9a5f3

tests/regression/tools/snapshots/test_kernel

index d77ed220adb6cd289557b98d9f7916168b637336..02cf98d945516b416c552d6abd3c6efdb611ce8a 100755 (executable)
@@ -129,6 +129,7 @@ function test_kernel_local_snapshot_discard ()
 
        rm -rf $TRACE_PATH
 
+       # Fill CPU 0's buffer and overwrite previous contents
        generate_filter_events_cpu0 10000
 
        # Take 2nd snapshot, compare first line. In discard mode, they
@@ -172,6 +173,7 @@ function test_kernel_local_snapshot_overwrite_small_buffers ()
 
        rm -rf $TRACE_PATH
 
+       # Fill CPU 0's buffer and overwrite previous contents
        generate_filter_events_cpu0 10000
 
        # Take 2nd snapshot, compare first line. In overwrite mode, they
This page took 0.026136 seconds and 4 git commands to generate.