This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GPROF -pg C++ and library


Hi all,
I hope it's the correct place for this question.


I am trying to profile my application which is organized in several
libraries. I would like to know what I need to do to get a profile
which actually represent my application and not only a part of it. The
program is composed of dynamic libraries and I am interesting in
getting profile from the dynamic libraries functions as well.
Libraries have been compiled using -pg -g3 -O0  as well as the main
program but I can't find any statistics on the usage of functions
defined in libraries. The application is written in C++ and makes use
of a few C libraries (which I am not interested in for profiling).

What is the common way to gather these information using -pg and gprof.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]