This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
using gprof
- From: "Matthias Hofmann" <matthias dot hofmann at tu-dortmund dot de>
- To: binutils at sourceware dot org
- Date: Thu, 7 May 2009 09:56:22 +0200 (CEST)
- Subject: using gprof
- Reply-to: matthias dot hofmann at tu-dortmund dot de
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