Expose prof_data testing internals only in prof tests
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "test/jemalloc_test.h"
|
||||
|
||||
#include "jemalloc/internal/prof_data.h"
|
||||
|
||||
#define NTHREADS 4
|
||||
#define NALLOCS_PER_THREAD 50
|
||||
#define DUMP_INTERVAL 1
|
||||
|
@@ -1,5 +1,7 @@
|
||||
#include "test/jemalloc_test.h"
|
||||
|
||||
#include "jemalloc/internal/prof_data.h"
|
||||
|
||||
static void
|
||||
mallctl_bool_get(const char *name, bool expected, const char *func, int line) {
|
||||
bool old;
|
||||
|
@@ -1,5 +1,7 @@
|
||||
#include "test/jemalloc_test.h"
|
||||
|
||||
#include "jemalloc/internal/prof_data.h"
|
||||
|
||||
static int
|
||||
prof_dump_open_file_intercept(const char *filename, int mode) {
|
||||
int fd;
|
||||
|
@@ -1,5 +1,7 @@
|
||||
#include "test/jemalloc_test.h"
|
||||
|
||||
#include "jemalloc/internal/prof_data.h"
|
||||
|
||||
TEST_BEGIN(test_prof_realloc) {
|
||||
tsd_t *tsd;
|
||||
int flags;
|
||||
|
Reference in New Issue
Block a user