mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 08:33:38 +03:00
parent
c4c2592c83
commit
f408643a4c
104 changed files with 1161 additions and 1168 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue