linux - gprof error: profile file has unsupported version -


I'm trying a shared library profile but when I open gprof:

 $ Export LD_PROFILE = libMy.so $ ./a.out $ gprof -q libMy.so /var/tmp/libMy.so.profile gprof: The unsupported version of the file /var/tmp/libMy.so.profile is 131071 

The Shared Library- -ggdb -pg was compiled with the flag.

GCC version 4.2.1, GPRF version 2.20, Linux 2.6.22

Any ideas what is the problem? , I can tell that generated code

profile file format gprof is not in the end instead try instead.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -