mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-18 10:56:20 +03:00
Refactor permuted backtrace test allocation.
Refactor permuted backtrace test allocation that was originally used only by the prof_accum test, so that it can be used by other heap profiling test binaries.
This commit is contained in:
parent
f8034540a1
commit
cc9e626ea9
10 changed files with 60 additions and 56 deletions
8
test/src/btalloc.c
Normal file
8
test/src/btalloc.c
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include "test/jemalloc_test.h"
|
||||
|
||||
void *
|
||||
btalloc(size_t size, unsigned bits)
|
||||
{
|
||||
|
||||
return (btalloc_0(size, bits));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue