aboutsummaryrefslogtreecommitdiff
path: root/include/jemalloc/internal/prof.h
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2014-04-16 16:38:22 -0700
committerJason Evans <je@fb.com>2014-04-16 16:38:22 -0700
commit0b49403958b68294eee0eca8a0b5195e761cf316 (patch)
treeb04393c386064f451bdf638ec0f6a2d88035d804 /include/jemalloc/internal/prof.h
parent3e3caf03af6ca579e473ace4daf25f63102aca4f (diff)
downloadjemalloc-0b49403958b68294eee0eca8a0b5195e761cf316.tar.gz
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.
Diffstat (limited to 'include/jemalloc/internal/prof.h')
-rw-r--r--include/jemalloc/internal/prof.h5
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);