Module: kamailio
Branch: master
Commit: 014a62f7546675ffc198d1c169f6bd12b3bdd87d
URL:
https://github.com/kamailio/kamailio/commit/014a62f7546675ffc198d1c169f6bd1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-04T10:47:15+02:00
corex: log messages for memory status/summary rpc commands
---
Modified: modules/corex/corex_rpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/014a62f7546675ffc198d1c169f6bd1…
Patch:
https://github.com/kamailio/kamailio/commit/014a62f7546675ffc198d1c169f6bd1…
---
diff --git a/modules/corex/corex_rpc.c b/modules/corex/corex_rpc.c
index 77ef0d3..f26965d 100644
--- a/modules/corex/corex_rpc.c
+++ b/modules/corex/corex_rpc.c
@@ -156,6 +156,7 @@ static const char* corex_rpc_shm_status_doc[2] = {
*/
static void corex_rpc_shm_status(rpc_t* rpc, void* ctx)
{
+ LM_DBG("printing shared memory status report\n");
shm_status();
}
@@ -169,6 +170,7 @@ static const char* corex_rpc_shm_summary_doc[2] = {
*/
static void corex_rpc_shm_summary(rpc_t* rpc, void* ctx)
{
+ LM_DBG("printing shared memory summary report\n");
shm_sums();
}