Module: kamailio Branch: master Commit: e5538f1814ed5b96a01c7006d15c9192238c9b19 URL: https://github.com/kamailio/kamailio/commit/e5538f1814ed5b96a01c7006d15c9192...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2016-03-27T14:40:46+02:00
mem: shm - updated macros for mod stats api
---
Modified: mem/shm.h
---
Diff: https://github.com/kamailio/kamailio/commit/e5538f1814ed5b96a01c7006d15c9192... Patch: https://github.com/kamailio/kamailio/commit/e5538f1814ed5b96a01c7006d15c9192...
---
diff --git a/mem/shm.h b/mem/shm.h index cbf4c3a..1fdd596 100644 --- a/mem/shm.h +++ b/mem/shm.h @@ -73,8 +73,8 @@ extern sr_shm_api_t _shm_root; # define shm_info(mi) _shm_root.xinfo(_shm_root.mem_block, mi) # define shm_available() _shm_root.xavailable(_shm_root.mem_block) # define shm_sums() _shm_root.xsums(_shm_root.mem_block) -# define shm_mod_get_stats(x) _shm_root.xstats(_shm_root.mem_block, x) -# define shm_mod_free_stats(x) _shm_root.xfstats(x) +# define shm_mod_get_stats(x) _shm_root.xmodstats(_shm_root.mem_block, x) +# define shm_mod_free_stats(x) _shm_root.xfmodstats(x)
void* shm_core_get_pool(void);