C/C++의 Call Stack, 메모리 사용

Tags:

kldp

* call stack 추적
$ info libc backtrace

* 메모리 추적
– valgrind:
$ valgrind –tool=memcheck -v –leak-check=yes –show-reachable=yes a.out

– memusage:
$ memusage a.out

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *