mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support gperf memory check(gmc).
This commit is contained in:
parent
489a492e47
commit
741d6f97f6
6 changed files with 88 additions and 24 deletions
|
@ -53,10 +53,6 @@ void handler(int signo)
|
|||
int main(int argc, char** argv)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
#ifdef SRS_GPERF_HEAP_CHECK
|
||||
// env HEAPCHECK=normal ./objs/srs -c srs.conf
|
||||
#endif
|
||||
|
||||
#ifdef SRS_GPERF_HEAP_PROFILE
|
||||
HeapProfilerStart("gperf.srs");
|
||||
|
@ -66,6 +62,7 @@ int main(int argc, char** argv)
|
|||
#endif
|
||||
|
||||
signal(SIGNAL_RELOAD, handler);
|
||||
signal(SIGINT, handler);
|
||||
|
||||
if ((ret = _srs_config->parse_options(argc, argv)) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue