mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-18 16:41:41 +03:00
Simplify signatures for prof dump functions
This commit is contained in:
parent
5d823f3a91
commit
d4259ea53b
3 changed files with 54 additions and 61 deletions
|
|
@ -28,8 +28,7 @@ void prof_tctx_try_destroy(tsd_t *tsd, prof_tctx_t *tctx);
|
|||
/* Used in unit tests. */
|
||||
size_t prof_tdata_count(void);
|
||||
size_t prof_bt_count(void);
|
||||
typedef void (prof_dump_header_t)(tsdn_t *, write_cb_t *, void *,
|
||||
const prof_cnt_t *);
|
||||
typedef void (prof_dump_header_t)(void *, const prof_cnt_t *);
|
||||
extern prof_dump_header_t *JET_MUTABLE prof_dump_header;
|
||||
void prof_cnt_all(uint64_t *curobjs, uint64_t *curbytes, uint64_t *accumobjs,
|
||||
uint64_t *accumbytes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue