[sr-dev] git:4.4:24d31da6: core: mem - updated defines to pkg mod stats

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


Module: kamailio
Branch: 4.4
Commit: 24d31da6fea5f177a43b492853362d56e9298ef6
URL: https://github.com/kamailio/kamailio/commit/24d31da6fea5f177a43b492853362d56e9298ef6

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

core: mem - updated defines to pkg mod stats

(cherry picked from commit 69f9328ddd959a70de8b94152704326dcca6a8cc)

---

Modified: mem/pkg.h

---

Diff:  https://github.com/kamailio/kamailio/commit/24d31da6fea5f177a43b492853362d56e9298ef6.diff
Patch: https://github.com/kamailio/kamailio/commit/24d31da6fea5f177a43b492853362d56e9298ef6.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