mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 05:33:06 +00:00
@@ -17,12 +17,12 @@ prof_dump_open_intercept(bool propagate_err, const char *filename) {
|
||||
fd = open("/dev/null", O_WRONLY);
|
||||
assert_d_ne(fd, -1, "Unexpected open() failure");
|
||||
|
||||
return (fd);
|
||||
return fd;
|
||||
}
|
||||
|
||||
static void *
|
||||
alloc_from_permuted_backtrace(unsigned thd_ind, unsigned iteration) {
|
||||
return (btalloc(1, thd_ind*NALLOCS_PER_THREAD + iteration));
|
||||
return btalloc(1, thd_ind*NALLOCS_PER_THREAD + iteration);
|
||||
}
|
||||
|
||||
static void *
|
||||
@@ -51,7 +51,7 @@ thd_start(void *varg) {
|
||||
}
|
||||
}
|
||||
|
||||
return (NULL);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
TEST_BEGIN(test_idump) {
|
||||
@@ -81,6 +81,6 @@ TEST_END
|
||||
|
||||
int
|
||||
main(void) {
|
||||
return (test(
|
||||
test_idump));
|
||||
return test(
|
||||
test_idump);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user