Merge remote-tracking branch 'tuxbox/master'

probably needs some additional tweaks


Origin commit data
------------------
Branch: ni/coolstream
Commit: d4efbc0c9b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-03-21 (Tue, 21 Mar 2017)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2017-03-21 06:50:08 +01:00
69 changed files with 847 additions and 619 deletions

View File

@@ -55,6 +55,8 @@
#include "xmlutil.h"
#include "debug.h"
#include <compatibility.h>
//#define ENABLE_SDT //FIXME
//#define DEBUG_SDT_THREAD
@@ -1067,11 +1069,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);
#ifdef __UCLIBC__
malloc_stats(NULL);
#else
malloc_stats();
#endif
comp_malloc_stats(NULL);
return ;
}
@@ -1200,11 +1198,7 @@ static void FreeMemory()
unlockEvents();
#ifdef __UCLIBC__
malloc_stats(NULL);
#else
malloc_stats();
#endif
comp_malloc_stats(NULL);
xprintf("[sectionsd] free memory done\n");
//wakeupAll(); //FIXME should we re-start eit here ?
}
@@ -2096,11 +2090,7 @@ static void print_meminfo(void)
if (!sections_debug)
return;
#ifdef __UCLIBC__
malloc_stats(NULL);
#else
malloc_stats();
#endif
comp_malloc_stats(NULL);
}
//---------------------------------------------------------------------