Move unbias data to prof_data
This commit is contained in:
@@ -10,6 +10,9 @@ extern malloc_mutex_t prof_dump_mtx;
|
||||
extern malloc_mutex_t *gctx_locks;
|
||||
extern malloc_mutex_t *tdata_locks;
|
||||
|
||||
extern size_t prof_unbiased_sz[SC_NSIZES];
|
||||
extern size_t prof_shifted_unbiased_cnt[SC_NSIZES];
|
||||
|
||||
void prof_bt_hash(const void *key, size_t r_hash[2]);
|
||||
bool prof_bt_keycomp(const void *k1, const void *k2);
|
||||
|
||||
@@ -17,6 +20,7 @@ bool prof_data_init(tsd_t *tsd);
|
||||
prof_tctx_t *prof_lookup(tsd_t *tsd, prof_bt_t *bt);
|
||||
char *prof_thread_name_alloc(tsd_t *tsd, const char *thread_name);
|
||||
int prof_thread_name_set_impl(tsd_t *tsd, const char *thread_name);
|
||||
void prof_unbias_map_init();
|
||||
void prof_dump_impl(tsd_t *tsd, write_cb_t *prof_dump_write, void *cbopaque,
|
||||
prof_tdata_t *tdata, bool leakcheck);
|
||||
prof_tdata_t * prof_tdata_init_impl(tsd_t *tsd, uint64_t thr_uid,
|
||||
|
@@ -41,9 +41,6 @@ extern uint64_t prof_interval;
|
||||
* resets.
|
||||
*/
|
||||
extern size_t lg_prof_sample;
|
||||
extern size_t prof_unbiased_sz[SC_NSIZES];
|
||||
extern size_t prof_shifted_unbiased_cnt[SC_NSIZES];
|
||||
void prof_unbias_map_init();
|
||||
|
||||
extern bool prof_booted;
|
||||
|
||||
|
Reference in New Issue
Block a user