This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
profiling an application between 2 events
- From: jayaraj <jayaraj at blr dot pin dot philips dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: 29 Mar 2006 11:09:03 +0530
- Subject: profiling an application between 2 events
Hi,
I want to profile an application in linux. Now I am using -pg option
with gcc for generating the profile data. Then used gprof for getting
profiles. In this profiling, it starts from first function (main()) to
ending function. Actually I want to profile functions with in 2 events
(triggers), which they happen inside the program while execution
happening. Is it possible with any open source tools in linux.
Jayaraj