FW: Running gprof on gtk demo...



Title: FW: Running gprof on gtk demo...

I found out the cause of the error...I didn't realize gtk-demo was a shell script.  Doh!

Thanks, C.

-----Original Message-----
From: Martin, Charles
Sent: Wed 4/7/2010 2:06 PM
To: gtk-list gnome org
Subject: Running gprof on gtk demo...


Hi all -

  Has anyone ever tried to run the GNU profiler on the gtk-demo program?  I did the following:

./configure CFLAGS="-pg" --enable-debug=yes
make
./demos/gtk-demo &
(ran it for a short while; it left a ./gmon.out file)
gprof gtk-demo

gprof gives me this error: 

gprof: gtk-demo: not in executable format

Thanks for listening.

Charles.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]