
I added -pg to LDFLAGS, CFLAGS and CXXFLAGS and dillo generated a nice gmon.prof ! However, it puts it in /tmp (perhaps that's why it didn't seem to be working). Dillo also dumps its core to /tmp when it crashes, perhaps for the same reason? Regards, Jeremy Henty

On Sat, May 24, 2008 at 05:03:31PM +0100, Jeremy Henty wrote:
[Dillo] puts [gmon.prof] in /tmp (perhaps that's why it didn't seem to be working). Dillo also dumps its core to /tmp ...
Well, duh, after writing that I thought to check the source, and main() calls a_Dir_init() which calls chdir("/tmp") . No wonder everything ends up in /tmp ! Regards, Jeremy Henty

On Sat, May 24, 2008 at 05:15:40PM +0100, Jeremy Henty wrote:
On Sat, May 24, 2008 at 05:03:31PM +0100, Jeremy Henty wrote:
[Dillo] puts [gmon.prof] in /tmp (perhaps that's why it didn't seem to be working). Dillo also dumps its core to /tmp ...
Well, duh, after writing that I thought to check the source, and main() calls a_Dir_init() which calls chdir("/tmp") . No wonder everything ends up in /tmp !
LOL! :-) Even more, I downloaded the profile data posted by Johannes to /tmp, so it was no surprise to find a gprof data file there. -- Cheers Jorge.-
participants (2)
-
jcid@dillo.org
-
onepoint@starurchin.org