Re: [PATCH v2 4/5] tools: Add support for running rosebush tests in userspace

From: Jeff Johnson
Date: Sat Jun 29 2024 - 01:15:49 EST


On 6/25/24 14:17, Matthew Wilcox (Oracle) wrote:
Enable make -C tools/testing/radix-tree. Much easier to debug than
an in-kernel module.

Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
---
tools/include/linux/rosebush.h | 1 +
tools/testing/radix-tree/.gitignore | 1 +
tools/testing/radix-tree/Makefile | 6 ++++-
tools/testing/radix-tree/kunit/test.h | 20 +++++++++++++++
tools/testing/radix-tree/rosebush.c | 36 +++++++++++++++++++++++++++
5 files changed, 63 insertions(+), 1 deletion(-)
create mode 100644 tools/include/linux/rosebush.h
create mode 100644 tools/testing/radix-tree/kunit/test.h
create mode 100644 tools/testing/radix-tree/rosebush.c
...
+#define MODULE_AUTHOR(x)
+#define MODULE_LICENSE(x)

don't forget to #define MODULE_DESCRIPTION() here if/when you add it to the module