Il giorno mer, 28/09/2005 alle 11.09 +0200, Claudio Saavedra ha scritto:
> Hi all,
>
> I'm starting to use valgrind to look for leaks, but I haven't found any
> resource to analyse the valgrind output in a more friendly way. I have
> seen once ago in p.g.o some charts made from the valgrind output, anyone
> have idea about these tools?
>
I usually just run something like:
valgrind --tool=memcheck --leak-check=yes --leak-resolution=high
--num-callers=20 my_proggie &> valg.dump
and then just look at valg.dump
The leaks are reported at the bottom. Try to concentrate on those marked
"definately lost" since the others may be bogus.
For each leak you get a backtrace pointing you to the the file and line
where the leak happened. If the trace is not long enough tweak
--num-callers.
There is also a tool called alleyhoop which provides a gnomey frontend
to valgrind, but I'm not familiar with it.
paolo
_______________________________________________
gnome-love mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-love