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:
Jason Evans
2014-10-01 17:51:52 -07:00
parent f8034540a1
commit cc9e626ea9
10 changed files with 60 additions and 56 deletions
+8
View File
@@ -0,0 +1,8 @@
#include "test/jemalloc_test.h"
void *
btalloc(size_t size, unsigned bits)
{
return (btalloc_0(size, bits));
}
+3
View File
@@ -0,0 +1,3 @@
#include "test/jemalloc_test.h"
btalloc_n_gen(0)
+3
View File
@@ -0,0 +1,3 @@
#include "test/jemalloc_test.h"
btalloc_n_gen(1)