Hi! Has anyone tried to use gprof for profiling dillo? Using "--enable-gprof" for configure seems to work, and calling the tests (e. g.. test/dw-example) create the file "gmon.out", but not so does starting src/dillo. The option "-pg" is set everywhere, so I do not know what the difference is. Any ideas? Sebastian
Hi, On Fri, Mar 01, 2013 at 10:49:30AM +0100, Sebastian Geerken wrote:
Hi!
Has anyone tried to use gprof for profiling dillo? Using "--enable-gprof" for configure seems to work, and calling the tests (e. g.. test/dw-example) create the file "gmon.out", but not so does starting src/dillo. The option "-pg" is set everywhere, so I do not know what the difference is.
Any ideas?
Did you look in /tmp for the gmon.out file? Cores also end up there. Johannes
On Sat, Mar 02, Johannes Hofmann wrote:
On Fri, Mar 01, 2013 at 10:49:30AM +0100, Sebastian Geerken wrote:
Has anyone tried to use gprof for profiling dillo? Using "--enable-gprof" for configure seems to work, and calling the tests (e. g.. test/dw-example) create the file "gmon.out", but not so does starting src/dillo. The option "-pg" is set everywhere, so I do not know what the difference is.
Any ideas?
Did you look in /tmp for the gmon.out file? Cores also end up there.
Ah, yes, it is there. Thanks! (According to the man page, "gmon.out" is created in the current working directory, when exit() is called.) Sebastian
On Sat, Mar 02, 2013 at 11:36:16PM +0000, corvid wrote: > Sebastian wrote: > > (According to the man page, "gmon.out" is created in the current > > working directory, when exit() is called.) > > There's a chdir("/tmp") hiding in Paths::init(). > > Why don't remove it? >From ChangeLog: - Fixed Dillo and its dpis to work from "/tmp" (for easy device unmount). There was a thread discussing it: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-December/009221.html http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-December/009223.html http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-December/009225.html Because of this, open dialog starts in /tmp, and it is a bug. Usually you start dillo from your home directory, why would you want to unmount it? And if you really plan to unmount it, you can change working directory yourself.
participants (4)
-
corvid@lavabit.com
-
Johannes.Hofmann@gmx.de
-
p37sitdu@lavabit.com
-
sgeerken@dillo.org