File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,21 @@ Invoke test binaries in both directions as follows:
36
36
--control-port=1234 \
37
37
--peer-cid=3
38
38
39
+ Some tests are designed to produce kernel memory leaks. Leaks detection,
40
+ however, is deferred to Kernel Memory Leak Detector. It is recommended to enable
41
+ kmemleak (CONFIG_DEBUG_KMEMLEAK=y) and explicitly trigger a scan after each test
42
+ suite run, e.g.
43
+
44
+ # echo clear > /sys/kernel/debug/kmemleak
45
+ # $TEST_BINARY ...
46
+ # echo "wait for any grace periods" && sleep 2
47
+ # echo scan > /sys/kernel/debug/kmemleak
48
+ # echo "wait for kmemleak" && sleep 5
49
+ # echo scan > /sys/kernel/debug/kmemleak
50
+ # cat /sys/kernel/debug/kmemleak
51
+
52
+ For more information see Documentation/dev-tools/kmemleak.rst.
53
+
39
54
vsock_perf utility
40
55
-------------------
41
56
'vsock_perf' is a simple tool to measure vsock performance. It works in
You can’t perform that action at this time.
0 commit comments