Dear all,
I am trying to collect stats using callgrind for assembly code (I followed
the steps for assembly instrumentation, and I was successful in obtaining
assembly-line level event counts).
valgrind --tool=callgrind --I1=32768,64,32 --D1=32768,64,32
--LL=8388608,64,128 --cache-sim=yes --branch-sim=no --simulate-wb=no
--simulate-hwpref=yes --cacheuse=no --compress-strings=no --compress-pos=no
-v my_program
However, after using callgrind_annotate --auto=yes, there is no
information for a particular function, say, "foo". The name of "foo" in the
assembly is "_Z10foo". I checked and evidence show that this function,
which is the core computational part, should be executed, so there should
be some stats for it.
I then trying to enforce callgrind to gather info for this function by
adding "--toggle-collect=foo", after using callgrind_annotate, the result
show empty stats. I also tried "--toggle-collect=_Z10foo", but it ends up
the same result. Any suggestions?
Thanks,
Jiayuan
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users