X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a1bfd9a25fa2b60dd146d55d56c9e4635e76e06..8ff5bf2dd1f24171fdfeee8bca4853bed5878c98:/include/xbt/mmalloc.h diff --git a/include/xbt/mmalloc.h b/include/xbt/mmalloc.h index a9d33eef1f..95fbc2cefd 100644 --- a/include/xbt/mmalloc.h +++ b/include/xbt/mmalloc.h @@ -52,13 +52,15 @@ extern void *xbt_mheap_destroy(xbt_mheap_t md); /* return the heap used when NULL is passed as first argument to any mm* function */ extern xbt_mheap_t mmalloc_get_default_md(void); -extern void mmalloc_display_info_heap(xbt_mheap_t h); - /* To change the heap used when using the legacy version malloc/free/realloc and such */ void mmalloc_set_current_heap(xbt_mheap_t new_heap); xbt_mheap_t mmalloc_get_current_heap(void); -int mmalloc_compare_heap(xbt_mheap_t mdp1, xbt_mheap_t mdp2, void *std_heap_addr); +int mmalloc_compare_heap(xbt_mheap_t heap1, xbt_mheap_t heap2); + +void mmalloc_backtrace_block_display(void* heapinfo, int block); +void mmalloc_backtrace_fragment_display(void* heapinfo, int block, int frag); + #endif /* MMALLOC_H */