Created a patch for 4.1 which allows to display also the total number of pkg 
fragments upon calling kamcmd pkg.stats. This combines part of the master logic 
with existing 4.1 logic (for example this version does not combine the 
SREV_PKG_SET_USED, SREV_PKG_SET_REAL_USED, SREV_PKG_SET_FRAGS  into one 
callback.)

Does this look ok?  Feel free to close this if not needed.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/575

-- Commit Summary --

  * kex: adding total_frags to kamcmd pkg.stats

-- File Changes --

    M events.c (13)
    M events.h (2)
    M mem/f_malloc.c (9)
    M mem/f_malloc.h (1)
    M mem/q_malloc.c (20)
    M mem/q_malloc.h (1)
    M modules/kex/pkg_stats.c (17)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/575.patch
https://github.com/kamailio/kamailio/pull/575.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/575
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to