diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-06-12 08:29:07 +0200 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2025-06-18 16:42:42 +0200 |
| commit | 5ea2bcdfbf46fc3aac239ea371a9561053cc977a (patch) | |
| tree | 32f48051c17bee9dca621ce2eb0dc6662a360389 /kernel/printk/Makefile | |
| parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) | |
| download | lwn-5ea2bcdfbf46fc3aac239ea371a9561053cc977a.tar.gz lwn-5ea2bcdfbf46fc3aac239ea371a9561053cc977a.zip | |
printk: ringbuffer: Add KUnit test
The KUnit test validates the correct operation of the ringbuffer.
A separate dedicated ringbuffer is used so that the global printk
ringbuffer is not touched.
Co-developed-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://patch.msgid.link/20250612-printk-ringbuffer-test-v3-1-550c088ee368@linutronix.de
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'kernel/printk/Makefile')
| -rw-r--r-- | kernel/printk/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/printk/Makefile b/kernel/printk/Makefile index 39a2b61c7232..f8004ac3983d 100644 --- a/kernel/printk/Makefile +++ b/kernel/printk/Makefile @@ -7,3 +7,5 @@ obj-$(CONFIG_PRINTK_INDEX) += index.o obj-$(CONFIG_PRINTK) += printk_support.o printk_support-y := printk_ringbuffer.o printk_support-$(CONFIG_SYSCTL) += sysctl.o + +obj-$(CONFIG_PRINTK_RINGBUFFER_KUNIT_TEST) += printk_ringbuffer_kunit_test.o |
