a5199577b1
The test code is less useful without debug, but can still do general validations. Define mt_dump(), mas_dump() and mas_wr_dump() as a noop if debug is not enabled and document it in the test module information that more information can be obtained with another kernel config option. MT_BUG_ON() will report a failures without tree dumps, and the output will be less useful. Link: https://lkml.kernel.org/r/20230518145544.1722059-17-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: David Binderman <dcb314@hotmail.com> Cc: Peng Zhang <zhangpeng.00@bytedance.com> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Vernon Yang <vernon2gm@gmail.com> Cc: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
||
---|---|---|
.. | ||
generated | ||
linux | ||
trace/events | ||
.gitignore | ||
benchmark.c | ||
bitmap.c | ||
idr-test.c | ||
iteration_check_2.c | ||
iteration_check.c | ||
linux.c | ||
main.c | ||
Makefile | ||
maple.c | ||
multiorder.c | ||
regression1.c | ||
regression2.c | ||
regression3.c | ||
regression4.c | ||
regression.h | ||
tag_check.c | ||
test.c | ||
test.h | ||
xarray.c |