valgrind callgrind

페이지 정보

작성자 조희승 댓글 0건 조회 3,790회 작성일 18-06-04 21:34

본문

valgrind --tool=callgrind --trace-children=yes r.sh



callgrind_annotate --inclusive=yes --tree=caller callgrind.out.20748
inclusive는 하위 소모시간을 포함
여러 pid의 callgrind.out이 나온 경우 따로 분석해야함




정렬하고 싶으면,
callgrind_annotate --inclusive=yes --tree=caller callgrind.out.20748 | sort -k 1 -n

댓글목록

등록된 댓글이 없습니다.