add gperftools for mem leak detect, mem/cpu profile.
This commit is contained in:
parent
ee7fafe465
commit
03a14e2e1a
|
|
@ -28,7 +28,7 @@ SRS_FFMPEG=YES
|
|||
SRS_HTTP=YES
|
||||
SRS_RESEARCH=NO
|
||||
SRS_UTEST=YES
|
||||
SRS_GPERF=YES
|
||||
SRS_GPERF=NO
|
||||
|
||||
#####################################################################################
|
||||
# parse options
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
/**
|
||||
config srs with gperf(to make gperftools):
|
||||
./configure --with-gperf --jobs=3
|
||||
set the pprof path if not set:
|
||||
export PPROF_PATH=`pwd`/../../../objs/pprof
|
||||
to do cpu profile:
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
/**
|
||||
config srs with gperf(to make gperftools):
|
||||
./configure --with-gperf --jobs=3
|
||||
set the pprof path if not set:
|
||||
export PPROF_PATH=`pwd`/../../../objs/pprof
|
||||
to check mem leak:
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
/**
|
||||
config srs with gperf(to make gperftools):
|
||||
./configure --with-gperf --jobs=3
|
||||
set the pprof path if not set:
|
||||
export PPROF_PATH=`pwd`/../../../objs/pprof
|
||||
to do mem profile:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user