[sr-dev] git:tmp/tlsf_debug:8810c00f: mem: TLSF memory summary and sums implementation

Camille Oudot camille.oudot at orange.com
Tue May 19 20:08:17 CEST 2015


Module: kamailio
Branch: tmp/tlsf_debug
Commit: 8810c00f837a585d4dc6079640abc3251f0e70ca
URL: https://github.com/kamailio/kamailio/commit/8810c00f837a585d4dc6079640abc3251f0e70ca

Author: Camille Oudot <camille.oudot at orange.com>
Committer: Camille Oudot <camille.oudot at orange.com>
Date: 2015-05-19T20:05:57+02:00

mem: TLSF memory summary and sums implementation

TLSF now has a debug mode, that will dump every memory block when xxx_status()
is called, and a summary of still allocated blocks when xxx_sums() is called.

configure build with

    make MEMDBG=1 MEMMNG=2 cfg

to enable maximum debuging informations (source location of mallocs and frees)

---

Modified: Makefile.defs
Modified: mem/mem.h
Modified: mem/q_malloc.c
Modified: mem/q_malloc.h
Modified: mem/shm_mem.h
Modified: mem/tlsf.c
Modified: mem/tlsf.h

---

Diff:  https://github.com/kamailio/kamailio/commit/8810c00f837a585d4dc6079640abc3251f0e70ca.diff
Patch: https://github.com/kamailio/kamailio/commit/8810c00f837a585d4dc6079640abc3251f0e70ca.patch




More information about the sr-dev mailing list