summaryrefslogtreecommitdiff
path: root/include/jemalloc/internal/prof_inlines.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jemalloc/internal/prof_inlines.h')
-rw-r--r--include/jemalloc/internal/prof_inlines.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/jemalloc/internal/prof_inlines.h b/include/jemalloc/internal/prof_inlines.h
index a8e7e7fb..7d9608b5 100644
--- a/include/jemalloc/internal/prof_inlines.h
+++ b/include/jemalloc/internal/prof_inlines.h
@@ -4,6 +4,7 @@
#include "jemalloc/internal/safety_check.h"
#include "jemalloc/internal/sz.h"
#include "jemalloc/internal/thread_event.h"
+#include "jemalloc/internal/jemalloc_internal_inlines_c.h"
JEMALLOC_ALWAYS_INLINE void
prof_active_assert() {
@@ -228,11 +229,6 @@ prof_sample_align(size_t orig_align) {
}
JEMALLOC_ALWAYS_INLINE bool
-prof_sample_aligned(const void *ptr) {
- return ((uintptr_t)ptr & PAGE_MASK) == 0;
-}
-
-JEMALLOC_ALWAYS_INLINE bool
prof_sampled(tsd_t *tsd, const void *ptr) {
prof_info_t prof_info;
prof_info_get(tsd, ptr, NULL, &prof_info);