cancel
Showing results for 
Search instead for 
Did you mean: 

profiling tools + linux + STPC?

jdong
Associate II
Posted on September 12, 2003 at 06:57

profiling tools + linux + STPC?

2 REPLIES 2
jdong
Associate II
Posted on September 11, 2003 at 23:29

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,

JP

roger2399
Associate II
Posted on September 12, 2003 at 06:57

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.