]> www.infradead.org Git - users/jedix/linux-maple.git/commit
radix tree test suite: add allocation counts and size to kmem_cache
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:11 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 4 May 2022 00:46:30 +0000 (17:46 -0700)
commit1730307bcab69d79e2439e5c36d4c5649377ce7a
tree0a18e850d030f5d5e58c9e7c9e42a93db30ab19e
parente73a387766ea1753d41bad35f030479a9c89cfa9
radix tree test suite: add allocation counts and size to kmem_cache

Add functions to get the number of allocations, and total allocations from
a kmem_cache.  Also add a function to get the allocated size and a way to
zero the total allocations.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
tools/testing/radix-tree/linux.c