diff options
| author | 2026-01-18 17:13:13 +0800 | |
|---|---|---|
| committer | 2026-02-08 21:24:41 -0600 | |
| commit | 480afcb19b61385dfe64840d87c355293a5fa698 (patch) | |
| tree | bd4eee057a12ae063326612d3a64086872112c2d /tools/perf/scripts/python/stackcollapse.py | |
| parent | smb/client: use bsearch() to find target in smb2_error_map_table (diff) | |
smb/client: introduce KUnit test to check search result of smb2_error_map_table
The KUnit test are executed when cifs.ko is loaded.
Just like `fs/ext4/mballoc.c` includes `fs/ext4/mballoc-test.c`.
`smb2maperror.c` also includes `smb2maperror_test.c`, allowing KUnit
tests to access any functions and variables in `smb2maperror.c`.
The maperror_test_check_search() checks whether all elements can be
correctly found in the array.
Suggested-by: David Howells <dhowells@redhat.com>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
