mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add gperftools demo: heap check and profile, cpu profile
This commit is contained in:
parent
9896842b05
commit
ee7fafe465
3 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
.PHONY: default clean
|
||||
|
||||
default: heap_checker
|
||||
|
||||
heap_checker: heap_checker.cc Makefile
|
||||
g++ -o heap_checker heap_checker.cc -g -O0 -ansi \
|
||||
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue