mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-16 05:37:18 +03:00
Push error handling logic out of core dumping logic
This commit is contained in:
parent
f541871f5d
commit
5d292b5660
6 changed files with 346 additions and 224 deletions
|
|
@ -98,7 +98,7 @@ 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 *);
|
||||
typedef void (prof_dump_header_t)(tsdn_t *, const prof_cnt_t *);
|
||||
extern prof_dump_header_t *JET_MUTABLE prof_dump_header;
|
||||
typedef int (prof_dump_open_maps_t)();
|
||||
extern prof_dump_open_maps_t *JET_MUTABLE prof_dump_open_maps;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue