-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
52 lines (32 loc) · 1.1 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
John Ogness <[email protected]>
This is an out-of-tree kernel module to test the lockless printk
ringbuffer. The kernel module will only work if the lockless printk
ringbuffer is *not* already part of the kernel.
================
Build the module
================
If the kernel build directory is /lib/modules/`uname -r`/build
$ make
otherwise
$ BDIR=/kernel/build/dir make
==============
Start the test
==============
$ sudo insmod ./prb.ko
The machine will have a high load, but should be usable during the test.
=============
Test duration
=============
A test of at least an hour would be useful. Letting it run longer might
help to trigger issues. On arm64, I would try to run tests for 30 days.
The system should continue to operate correctly during testing. If at
any time an OOPS or BUG or WARN is triggered, this information should
be sent and the ringbuffer has failed!
=============
Stop the test
=============
$ sudo rmmod prb
$ sudo dmesg > dmesg.txt
$ sudo cat /sys/kernel/debug/tracing/trace > trace.txt
Send dmesg.txt and trace.txt to John Ogness <[email protected]>
Thank you!