| 3675 | } |
| 3676 | |
| 3677 | static size_t |
| 3678 | ixallocx_prof_sample(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size, |
| 3679 | size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx) { |
| 3680 | /* Sampled allocation needs to be page aligned. */ |
| 3681 | if (tctx == NULL || !prof_sample_aligned(ptr)) { |
| 3682 | return old_usize; |
| 3683 | } |
| 3684 | |
| 3685 | return ixallocx_helper(tsdn, ptr, old_usize, size, extra, alignment, |
| 3686 | zero); |
| 3687 | } |
| 3688 | |
| 3689 | JEMALLOC_ALWAYS_INLINE size_t |
| 3690 | ixallocx_prof(tsd_t *tsd, void *ptr, size_t old_usize, size_t size, |
no test coverage detected