Do not reset sample wait time when re-initing tdata

This commit is contained in:
Yinan Zhang
2020-03-23 14:58:33 -07:00
parent 855d20f6f3
commit 1e2524e15a
3 changed files with 4 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ 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);
uint64_t thr_discrim, char *thread_name, bool active);
void prof_tdata_detach(tsd_t *tsd, prof_tdata_t *tdata);
void bt_init(prof_bt_t *bt, void **vec);
void prof_backtrace(tsd_t *tsd, prof_bt_t *bt);