mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-04 01:20:04 +03:00
Rename prof.dump_prefix to prof.prefix
This better aligns with our naming convention. The option has not been included in any upstream release yet.
This commit is contained in:
parent
6a01600712
commit
5884a076fb
5 changed files with 37 additions and 44 deletions
|
|
@ -26,14 +26,14 @@ TEST_BEGIN(test_idump) {
|
|||
bool active;
|
||||
void *p;
|
||||
|
||||
const char *dump_prefix = TEST_PREFIX;
|
||||
const char *prefix = TEST_PREFIX;
|
||||
|
||||
test_skip_if(!config_prof);
|
||||
|
||||
active = true;
|
||||
|
||||
expect_d_eq(mallctl("prof.dump_prefix", NULL, NULL,
|
||||
(void *)&dump_prefix, sizeof(dump_prefix)), 0,
|
||||
expect_d_eq(mallctl("prof.prefix", NULL, NULL, (void *)&prefix,
|
||||
sizeof(prefix)), 0,
|
||||
"Unexpected mallctl failure while overwriting dump prefix");
|
||||
|
||||
expect_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue