[OpenSIPS-Devel] [opensips] Allocator debugging rework (#736)

Robert Vladut Patrascu notifications at github.com
Wed Dec 23 14:27:00 CET 2015


You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/736

-- Commit Summary --

  * menuconfig: add posibility to toggle options in Compile Flags menu
  * q_malloc: change memory dump output to show summary of allocated fragments
  * add memory status dump to f_malloc and hp_malloc
  * use the compile flag DBG_MALLOC to debug any memory allocator
  * small changes to debug output for q_malloc, f_malloc and hp_malloc
  * q_malloc: don't abort on free(NULL) when debug is enabled

-- File Changes --

    M Makefile.conf.template (16)
    M Makefile.defs (8)
    M context.c (12)
    M mem/common.h (4)
    M mem/f_malloc.c (156)
    M mem/f_malloc.h (22)
    M mem/hp_malloc.c (435)
    M mem/hp_malloc.h (65)
    M mem/hp_malloc_stats.c (12)
    M mem/hp_malloc_stats.h (2)
    M mem/mem.c (16)
    M mem/mem.h (33)
    A mem/mem_dbg_hash.c (80)
    A mem/mem_dbg_hash.h (40)
    M mem/memtest.c (2)
    M mem/q_malloc.c (148)
    M mem/q_malloc.h (17)
    M mem/shm_mem.c (8)
    M mem/shm_mem.h (40)
    M mem/vq_malloc.c (30)
    M mem/vq_malloc.h (8)
    M menuconfig/commands.c (22)
    M menuconfig/curses.c (20)
    M menuconfig/items.h (1)
    M menuconfig/parser.c (27)
    M menuconfig/parser.h (5)
    M mi/mi_core.c (2)
    M version.h (22)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/736.patch
https://github.com/OpenSIPS/opensips/pull/736.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/736
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151223/e802d476/attachment.htm>


More information about the Devel mailing list