Profiling CPU Graph panel widget through Valgrind

Landry Breuil landry.breuil at gmail.com
Tue Aug 21 11:10:51 CEST 2012


On Tue, Aug 21, 2012 at 10:10 AM, Mark Wagner <mark+xfce4 at carnildo.com> wrote:
> I'm trying to track down a massive memory leak in the CPU Graph panel
> widget (to the tune of a gigabyte per day).  How would I go about
> launching it through Valgrind?

I take it you're using a gtk theme that comes with gtk-xfce-engine.
There is a known bug, see
https://bugzilla.xfce.org/show_bug.cgi?id=8521.

As for running within valgrind this is explained on the wiki :
https://wiki.xfce.org/howto/panel_plugin_debug#debug_with_valgrind_full_example
That will need to be amended to work with internal/modules panel
plugins, atm this is only for external plugins.

Landry


More information about the Xfce mailing list