mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-16 00:45:38 +03:00
Make dump file writing replaceable in test
This commit is contained in:
parent
21e44c45d9
commit
7455813e57
2 changed files with 7 additions and 2 deletions
|
|
@ -96,6 +96,8 @@ size_t prof_tdata_count(void);
|
|||
size_t prof_bt_count(void);
|
||||
typedef int (prof_dump_open_file_t)(const char *, int);
|
||||
extern prof_dump_open_file_t *JET_MUTABLE prof_dump_open_file;
|
||||
typedef ssize_t (prof_dump_write_file_t)(int, const void *, size_t);
|
||||
extern prof_dump_write_file_t *JET_MUTABLE prof_dump_write_file;
|
||||
typedef bool (prof_dump_header_t)(tsdn_t *, bool, const prof_cnt_t *);
|
||||
extern prof_dump_header_t *JET_MUTABLE prof_dump_header;
|
||||
typedef int (prof_dump_open_maps_t)();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue