<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi all; I've been trying to use gprof to profile some of my code and the profiling results for my code only seem to account for about 5 seconds of runtime, out of a total of 40 seconds.<BR>
<BR>
So I installed the profiled libc library installed and I'm trying to use that to try to figure out where the rest of the runtime is going. When I attempt to link with -lc_p as described in the libc6-prof README file, etc., I get linker errors and/or immediate segmentation faults when I run it.<BR>
<BR>
I've filed a bug a few days ago with details: <A HREF="https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/667470">https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/667470</A><BR>
<BR>
<BR>
Has anyone else been able to get this working? Am I just missing something here?<BR>
<BR>
<BR>
Cheers!<BR>
<BR>
<BR>
PS. Yes I know about valgrind but I was hoping to use gprof in this case.
</BODY>
</HTML>