diff options
author | Jason Evans <je@fb.com> | 2014-04-16 23:38:22 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2014-04-16 23:38:22 (GMT) |
commit | 0b49403958b68294eee0eca8a0b5195e761cf316 (patch) | |
tree | b04393c386064f451bdf638ec0f6a2d88035d804 | |
parent | 3e3caf03af6ca579e473ace4daf25f63102aca4f (diff) | |
download | jemalloc-0b49403958b68294eee0eca8a0b5195e761cf316.zip jemalloc-0b49403958b68294eee0eca8a0b5195e761cf316.tar.gz jemalloc-0b49403958b68294eee0eca8a0b5195e761cf316.tar.bz2 |
Fix debug-only compilation failures.
Fix debug-only compilation failures introduced by changes to
prof_sample_accum_update() in:
6c39f9e059d0825f4c29d8cec9f318b798912c3c
refactor profiling. only use a bytes till next sample variable.
-rw-r--r-- | include/jemalloc/internal/prof.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/jemalloc/internal/prof.h b/include/jemalloc/internal/prof.h index 27be10c..d742253 100644 --- a/include/jemalloc/internal/prof.h +++ b/include/jemalloc/internal/prof.h @@ -264,13 +264,12 @@ void prof_sample_threshold_update(prof_tdata_t *prof_tdata); malloc_tsd_protos(JEMALLOC_ATTR(unused), prof_tdata, prof_tdata_t *) prof_tdata_t *prof_tdata_get(bool create); -void prof_sample_accum_update(size_t size, bool commit, +bool prof_sample_accum_update(size_t size, bool commit, prof_tdata_t **prof_tdata_out); prof_ctx_t *prof_ctx_get(const void *ptr); void prof_ctx_set(const void *ptr, prof_ctx_t *ctx); -bool prof_sample_accum_update(size_t size); void prof_malloc_record_object(const void *ptr, size_t usize, - prof_thr_cnt_t *cnt) + prof_thr_cnt_t *cnt); void prof_malloc(const void *ptr, size_t usize, prof_thr_cnt_t *cnt); void prof_realloc(const void *ptr, size_t usize, prof_thr_cnt_t *cnt, size_t old_usize, prof_ctx_t *old_ctx); |