[Fwd: Support for gobject tracking in memprof]



Hi, I sent this message to this list some days ago, but it got into the
moderator queue (because it was too big) and I think that nobody is
looking at that queue. 

To avoid it, I've put the patch here, updated against current cvs: 

http://webs.ono.com/rfp/memprof.gobjects.2.diff

Greetings. 


-----Mensaje reenviado----- 

From: Ricardo Fernández Pascual <ric users sourceforge net>
To: otaylor redhat com, kris gtk org
Cc: gnome-hackers gnome org
Subject: Support for gobject tracking in memprof
Date: 06 Aug 2002 15:54:26 +0200


Hello, 
    I've been playing with memprof and added support for tracking
GObjects (creation, ref, unref...). 
    It keeps a list of all live gobjects of the program and tracks where
every ref and unref is done. 
    I have used it to find some leaks in galeon. I have tested it with
several other programs and it seems to work correctly (btw: every gnome
program leaves a lot of live GtkObjects when exiting, i guess this is
intentional...). 
    If people find this useful, I could clean the code and commit it to
cvs. The patch is a bit dirty and has some code duplication because i
didn't expect to get this working when I started it ;) 

Ricardo. 

 
-- 
Ricardo Fernández Pascual
ric users sourceforge net
Murcia. España.

_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]