On Monday 15 June 2009, Evan wrote: > Any suggestions as to where to look when callgrind only finds > hexadecimal strings as function names? For instance, should I expect > this a problem in the way I'm building the program, running it, > passing options to callgrind...?
It means that the debug reader in Valgrind was not able to detect a symbol name for a given instruction address, ie. debug info seems to be missing. This has nothing to do with missing command line options. Build your program with debug info. > I'm writing out decompressed callgrind data files and then parsing > them with a python script to grab total cost. This seems to disagree > with kcachegrind when there are multiple function definitions. That > is, two points in the file when > > fn='functionname' > 0 cost# Are you saying there are multiple such entries with the same function name? KCachegrind's behavior then would be to sum up the costs (according to the format definition). However, I can not think of a reason why Callgrind should print costs for the same function multiple times in one dump. Do you have an example when this happens? Josef > . > . > etc > > should I ignore these duplicates? Suggestions much appreciated. > > > > Evan > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users