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

Stefan Mititelu notifications at github.com
Mon Jun 29 16:50:36 CEST 2015


One approach to this feature would have been to create some callbacks to update the memory stats, called by malloc/realloc/free functions. This approach would have been questionable because processing has to be done each time somememory functions were called.
The current approach is to export some memory api functions (something similar to q_sums) which will itereate through the memory fragments and agregate their size. The kamcmd callback will call those functions and print the agregated results.

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


More information about the sr-dev mailing list