[sr-dev] [kamailio] kex: per module memory debugging (#225)

Stefan Mititelu notifications at github.com
Mon Nov 2 13:10:58 CET 2015


Updated pull request. Created 2 new functions (similar to qm_sums):
- qm_mod_get_stats() fills a list of _struct mem_counter_ with details
- qm_mod_free_stats() frees the above allocated list

I have a question related to compiling using different memory allocation algorithms (as seen here http://www.kamailio.org/wiki/tutorials/troubleshooting/memory):
- MEMMNG=1 MEMDBG=0/1 make cfg - will use the F_* allocation algorithm
- MEMMNG=2 MEMDBG=0/1 make cfg - will use the F_* allocation algorithm

How can I compile using Q_* and TLSF_* algorithms in order to make tests for them?

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/225#issuecomment-153000095
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151102/a30e7a89/attachment.html>


More information about the sr-dev mailing list