using gprof

Matthias Hofmann matthias.hofmann@tu-dortmund.de
Thu May 7 07:56:00 GMT 2009


Hi,

i am not sure if i am correct here, but i have a short question concerning
the use and functionality of gprof:

currently, i am trying to get gprof work within a special proprietary
linux distribution for embedded systems. the software which i would like
to profile is called and used by a proprietary framework (not open
source). our software works as a shared library. i compiled and linked the
library with gcc 4.1.2 using the "-pg" flags. after that i run the
software on the robot, but there is no output and no error message from
gprof. there is no problem with the writing rights of the working
directory cause i run the framework as a root user.

- does gprof support shared libraries?
- any ideas what i did wrong?
- are there alternatives to gprof if there is no shared lib support?

thank you very much for your advice,

matthias




More information about the Binutils mailing list