Michael Eskin wrote: > We’re hoping to do some algorithm profiling on our ARM Cortex-A8 based SOC, > have had no problem building and running Valgrind 3.6.1 for our platform, but > in all cases when running the tool even on very simple console mode “Hello > World” applications, we’re immediately getting a SIGILL crash on what appears > to be the _start function in ucLibc before hitting any of our code. We’re > building ucLibc using the generic ARM option (there isn’t a Cortex-A8 > buildroot option), but I was under the general impression that it’s valgrind > that requires Cortex-A8, which is how we’ve built it, that a library such as > ucLibc or other application built using a generic ARM instruction set should > be able to be executed.
If your code is single-threaded you can get good profiling info using FunctionCheck. http://highlandsun.com/hyc/#fncchk If multithreaded, the function entry/exit counters will still be correct but time spent in functions will probably be incorrect. For a single-core system it will be close; for multi-core it will be totally bogus. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
