$ valgrind --tool=callgrind qemu-system-i386 linux-0.2.img -vnc 0.0.0.0:1
==20950== Callgrind, a call-graph generating cache profiler ==20950== Copyright (C) 2002-2011, and GNU GPL'd, by Josef Weidendorfer et al. ==20950== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==20950== Command: /nfs_home/chenwj/install/bin/qemu-system-i386 linux-0.2.img -vnc 0.0.0.0:1 ==20950== ==20950== For interactive control, run 'callgrind_control -h'.
-no_check_handle_leaks
選項可以禁用此類報告。-mthumb -marm
中,以 -marm
為主。-O3 -O2
中,以 -O2
為主。-L/Path1 -L/Path2
則會依序從 /Path1
和 Path2
尋找欲鏈結的函式庫。