mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-07 04:07:30 +03:00
Refactor destroy code path for prof_tctx
This commit is contained in:
parent
055478cca8
commit
7d2bac5a38
3 changed files with 32 additions and 29 deletions
|
|
@ -114,13 +114,13 @@ bool prof_log_rep_check(void);
|
|||
void prof_log_dummy_set(bool new_value);
|
||||
#endif
|
||||
|
||||
/* Functions in prof_data.c only accessed in prof.c */
|
||||
/* Functions in prof_data.c only used in profiling code. */
|
||||
bool prof_data_init(tsd_t *tsd);
|
||||
bool prof_dump(tsd_t *tsd, bool propagate_err, const char *filename,
|
||||
bool leakcheck);
|
||||
prof_tdata_t * prof_tdata_init_impl(tsd_t *tsd, uint64_t thr_uid,
|
||||
uint64_t thr_discrim, char *thread_name, bool active, bool reset_interval);
|
||||
void prof_tdata_detach(tsd_t *tsd, prof_tdata_t *tdata);
|
||||
void prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx);
|
||||
void prof_tctx_try_destroy(tsd_t *tsd, prof_tctx_t *tctx);
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_PROF_EXTERNS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue