mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Fix a variable prototype/definition mismatch.
This commit is contained in:
parent
f234dc51b9
commit
eefdd02e70
2 changed files with 7 additions and 3 deletions
|
|
@ -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_leak; /* Dump leak summary at exit. */
|
||||
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
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@ char opt_prof_prefix[
|
|||
#ifdef JEMALLOC_PROF
|
||||
PATH_MAX +
|
||||
#endif
|
||||
1
|
||||
];
|
||||
1];
|
||||
|
||||
uint64_t prof_interval = 0;
|
||||
bool prof_promote;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue