I always use callgrind instead; and I use it like this:
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 ;-)