On Wednesday 13 October 2010, stuart.cla...@nulec.com.au wrote: > Hi Josef, > > Thanks very much for the reply. Comments below... > > > > I am running valgrind 3.4.1 on a ppc32 system, using uClibc. I am > using > > > 3.4.1 because 3.5.0 won't compile for ppc32. > > > > Oh, what is the reason? > > http://osdir.com/ml/kde-bugs-dist/2009-08/msg13796.html
Hmm.. this bug (204843) seems to be fixed since quite some time in SVN. > I have since tried using 3.6 from the TRUNK however, and I got the same > problem. > > > Yes, it is known that Callgrind sometimes is completely wrong regarding > calls > > and returns on PPC{32/64}, as well as on the newly introduced ARM > support in > > the upcoming 3.6.0 (see bug 252091 for the ARM bug report, > > https://bugs.kde.org/show_bug.cgi?id=252091). > > > > The reason are some hardcoded assumptions which only are true on > x86/amd64. > > > > Can you open a similar bug report for PPC32 for this, describing the > problems > > you see? > > I will get a small sample program to behave badly, and then post it in a > bug report. Thanks, very would be very good! > This sucks quite a bit, since callgrind is the only profiling solution > available on my platform (gprof and orprofile won't work for various > reasons). > > As I said however, the output from callgrind looks relatively sane. Am I > a fool to rely on it as some sort of guide for optimisation work? No, not at all. Self/exclusive costs should be perfectly fine. I just would not count to much on the inclusive cost numbers. > In the meantime, I will work with the developers to get this fixed. Am > happy to do dev work. It's very important to me that this be resolved. Yes, for me too, as the same issue arrises with the ARM support (to become part of SVN 3.6.0). Thanks, Josef > > Thanks again, > > Stuart > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users