neutrino-apollo: changes for apollo uclibc.

This commit is contained in:
[CST] Bas
2012-07-09 11:58:15 +08:00
parent 6b6a9e37fb
commit cf878686ba
5 changed files with 46 additions and 22 deletions

View File

@@ -997,7 +997,7 @@ static void commandDumpStatusInformation(int /*connfd*/, char* /*data*/, const u
// resourceUsage.ru_maxrss, resourceUsage.ru_ixrss, resourceUsage.ru_idrss, resourceUsage.ru_isrss,
);
printf("%s\n", stati);
malloc_stats();
malloc_stats(NULL);
return ;
}
@@ -1123,7 +1123,7 @@ static void FreeMemory()
unlockEvents();
malloc_stats();
malloc_stats(NULL);
xprintf("[sectionsd] free memory done\n");
//wakeupAll(); //FIXME should we re-start eit here ?
}
@@ -1907,7 +1907,7 @@ static void print_meminfo(void)
if (!sections_debug)
return;
malloc_stats();
malloc_stats(NULL);
}
//---------------------------------------------------------------------