2019-12-19 05:38:14 +08:00
|
|
|
#ifndef JEMALLOC_INTERNAL_PROF_RECENT_EXTERNS_H
|
|
|
|
#define JEMALLOC_INTERNAL_PROF_RECENT_EXTERNS_H
|
|
|
|
|
|
|
|
bool prof_recent_alloc_prepare(tsd_t *tsd, prof_tctx_t *tctx);
|
2020-01-10 02:20:34 +08:00
|
|
|
void prof_recent_alloc(tsd_t *tsd, edata_t *edata, size_t size);
|
2019-12-19 05:38:14 +08:00
|
|
|
void prof_recent_alloc_reset(tsd_t *tsd, edata_t *edata);
|
|
|
|
bool prof_recent_init();
|
|
|
|
void edata_prof_recent_alloc_init(edata_t *edata);
|
|
|
|
#ifdef JEMALLOC_JET
|
2020-04-03 04:40:22 +08:00
|
|
|
typedef ql_head(prof_recent_t) prof_recent_list_t;
|
|
|
|
extern prof_recent_list_t prof_recent_alloc_list;
|
2020-04-07 07:19:53 +08:00
|
|
|
prof_recent_t *edata_prof_recent_alloc_get_no_lock(const edata_t *edata);
|
2019-12-19 05:38:14 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* JEMALLOC_INTERNAL_PROF_RECENT_EXTERNS_H */
|