| 3705 | } |
| 3706 | |
| 3707 | JEMALLOC_EXPORT void JEMALLOC_NOTHROW |
| 3708 | je_malloc_stats_print(void (*write_cb)(void *, const char *), void *cbopaque, |
| 3709 | const char *opts) { |
| 3710 | tsdn_t *tsdn; |
| 3711 | |
| 3712 | LOG("core.malloc_stats_print.entry", ""); |
| 3713 | |
| 3714 | tsdn = tsdn_fetch(); |
| 3715 | check_entry_exit_locking(tsdn); |
| 3716 | stats_print(write_cb, cbopaque, opts); |
| 3717 | check_entry_exit_locking(tsdn); |
| 3718 | LOG("core.malloc_stats_print.exit", ""); |
| 3719 | } |
| 3720 | |
| 3721 | JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW |
| 3722 | je_malloc_usable_size(JEMALLOC_USABLE_SIZE_CONST void *ptr) { |