Profiling DRI drivers

José Fonseca jrfonseca at
Tue Nov 20 07:50:27 PST 2007

I've been spending a lot of time profiling DRI drivers for Gallium 3D.
I've tried gprof, valgrind, and finally oprofile. Oprofile seems the
best in my opinion for this purpose. (I haven't tried Sysprof yet
though). I wrote about it in

I also wrote a script to generate a time-colored call graph from
oprofile output, using graphviz. The script available from . See an output
example of profiling glxgears on Gallium 3D on
. The hotter the colour of a function is, more time is spent on that
function and its children.

José Fonseca

More information about the xorg mailing list