mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add heap checker and profiler demo
This commit is contained in:
parent
0b17b2a481
commit
7239963780
5 changed files with 154 additions and 1 deletions
|
@ -440,7 +440,8 @@ if [ $SRS_GPERF = YES ]; then
|
|||
rm -rf ${SRS_OBJS}/gperftools-2.1 && cd ${SRS_OBJS} &&
|
||||
unzip -q ../3rdparty/gperftools-2.1.zip && cd gperftools-2.1 &&
|
||||
./configure --prefix=`pwd`/_release --enable-frame-pointers && make ${SRS_JOBS} && make install &&
|
||||
cd .. && rm -f gperf && ln -sf gperftools-2.1/_release gperf
|
||||
cd .. && rm -f gperf && ln -sf gperftools-2.1/_release gperf &&
|
||||
rm -f pprof && ln -sf gperf/bin/pprof pprof
|
||||
)
|
||||
fi
|
||||
# check status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue