2003-09-11 09:57 PM
profiling tools + linux + STPC?
2003-09-11 02:29 PM
Hi,
Do anybody have experiences with profiling multi-threaded applications running on linux os for a STPC-based platform? I have tried gprof. The default gprof cannot be used for multi-threaded applications. I downloaded a patch. It worked on a desktop which is Pentium-based. However, when I tried to use it to profile with application running on STPC-based platform, it gave me Segmentation fault errors. Someone recommended me another tool, oprofile. I am not sure whether it supports STPC (Consumer II) platform as well, since it asked for Pentium Pro and later compatible platforms but STPC consumer II was 486 compatible. I am really desperate for a profiling tool which is known to be working with STPC consumer II platform. If you happen to know it, please let me know. Your help is highly appreciated. Best, JP2003-09-11 09:57 PM
I can see only one reason for gprof to not work on STPC.
No cycle counter - TSC. But I guess gprof could work without that. Make sure that gprof is compiled for the target: 386/486, right kernel version, right c lib. If possible try to compile on the STPC.