I always use callgrind instead; and I use it like this:
export OOO_DISABLE_RECOVERY=1
valgrind --tool=callgrind --simulate-cache=yes --dump-instr=yes ./soffice.bin -writer -splash-pipe=0
Then I use 'kcachegrind' on the output.
Now - possibly you want to use callgrind_control -z just before you
start doing something fun in calc - so that you can not get swamped by
the startup cost; and of course - this method is fairly slow, and really
you need to build with debug symbols to get a good view of what is up.
OTOH - it is a wonderful tool ;-)
HTH,
Michael.
Không có nhận xét nào:
Đăng nhận xét