mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Squash: Fix bugs
This commit is contained in:
parent
10d188faab
commit
716e578a19
382 changed files with 170096 additions and 220 deletions
|
@ -1,10 +1,10 @@
|
|||
.PHONY: default clean
|
||||
|
||||
default: heap_checker
|
||||
default: heap_profiler
|
||||
|
||||
heap_profiler: heap_profiler.cc Makefile
|
||||
g++ -o heap_profiler heap_profiler.cc -g -O0 -ansi \
|
||||
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \
|
||||
-I../../../objs/gperf/include ../../../objs/gperf/lib/libtcmalloc_and_profiler.a -lpthread
|
||||
clean:
|
||||
rm -f heap_profiler srs.*.heap
|
||||
rm -f heap_profiler srs.*.heap ./*.dSYM
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
/**
|
||||
@see: http://google-perftools.googlecode.com/svn/trunk/doc/heapprofile.html
|
||||
@see: https://gperftools.github.io/gperftools/heapprofile.html
|
||||
config srs with gperf(to make gperftools):
|
||||
./configure --with-gperf --jobs=3
|
||||
set the pprof path if not set:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue