Fix a variable prototype/definition mismatch.
This commit is contained in:
parent
f234dc51b9
commit
eefdd02e70
@ -200,7 +200,12 @@ extern bool opt_prof_gdump; /* High-water memory dumping. */
|
|||||||
extern bool opt_prof_final; /* Final profile dumping. */
|
extern bool opt_prof_final; /* Final profile dumping. */
|
||||||
extern bool opt_prof_leak; /* Dump leak summary at exit. */
|
extern bool opt_prof_leak; /* Dump leak summary at exit. */
|
||||||
extern bool opt_prof_accum; /* Report cumulative bytes. */
|
extern bool opt_prof_accum; /* Report cumulative bytes. */
|
||||||
extern char opt_prof_prefix[PATH_MAX + 1];
|
extern char opt_prof_prefix[
|
||||||
|
/* Minimize memory bloat for non-prof builds. */
|
||||||
|
#ifdef JEMALLOC_PROF
|
||||||
|
PATH_MAX +
|
||||||
|
#endif
|
||||||
|
1];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Profile dump interval, measured in bytes allocated. Each arena triggers a
|
* Profile dump interval, measured in bytes allocated. Each arena triggers a
|
||||||
|
@ -29,8 +29,7 @@ char opt_prof_prefix[
|
|||||||
#ifdef JEMALLOC_PROF
|
#ifdef JEMALLOC_PROF
|
||||||
PATH_MAX +
|
PATH_MAX +
|
||||||
#endif
|
#endif
|
||||||
1
|
1];
|
||||||
];
|
|
||||||
|
|
||||||
uint64_t prof_interval = 0;
|
uint64_t prof_interval = 0;
|
||||||
bool prof_promote;
|
bool prof_promote;
|
||||||
|
Loading…
Reference in New Issue
Block a user