[sr-dev] git:master:69f9328d: core: mem - updated defines to pkg mod stats

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 28 14:39:11 CEST 2016


Module: kamailio
Branch: master
Commit: 69f9328ddd959a70de8b94152704326dcca6a8cc
URL: https://github.com/kamailio/kamailio/commit/69f9328ddd959a70de8b94152704326dcca6a8cc

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-03-28T14:39:02+02:00

core: mem - updated defines to pkg mod stats

---

Modified: mem/pkg.h

---

Diff:  https://github.com/kamailio/kamailio/commit/69f9328ddd959a70de8b94152704326dcca6a8cc.diff
Patch: https://github.com/kamailio/kamailio/commit/69f9328ddd959a70de8b94152704326dcca6a8cc.patch

---

diff --git a/mem/pkg.h b/mem/pkg.h
index eb07bd2..c107117 100644
--- a/mem/pkg.h
+++ b/mem/pkg.h
@@ -48,8 +48,8 @@ void pkg_print_manager(void);
 #	define pkg_info(mi)    _pkg_root.xinfo(_pkg_root.mem_block, mi)
 #	define pkg_available() _pkg_root.xavailable(_pkg_root.mem_block)
 #	define pkg_sums()      _pkg_root.xsums(_pkg_root.mem_block)
-#	define pkg_mod_get_stats(x)     _pkg_root.xstats(_pkg_root.mem_block, x)
-#	define pkg_mod_free_stats(x)    _pkg_root.xfstats(x)
+#	define pkg_mod_get_stats(x)     _pkg_root.xmodstats(_pkg_root.mem_block, x)
+#	define pkg_mod_free_stats(x)    _pkg_root.xfmodstats(x)
 
 #else /*PKG_MALLOC*/
 /* use system allocator */




More information about the sr-dev mailing list