Running gprof on gtk demo...



Title: 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]