[Mesa-dev] Enabling verbose modes in mesa and its libraries

Eero Tamminen eero.t.tamminen at intel.com
Wed Apr 5 12:42:10 UTC 2017


Hi,

On 05.04.2017 13:11, J Karanje, Kedar wrote:
>           Could someone please send a link to a comprehensive document
> on enabling the various DEBUG levels within mesa, I’ve already tried :
> https://www.mesa3d.org/debugging.html , however this just mentions
> MESA_DEBUG (which only dumps errors) , is there any option which can
> give me a complete logs (to understand call flow etc)

IMHO for call flow, best option is running Mesa with:
	valgrind --tool=callgrind

And viewing the result with KCachegrind:
	http://kcachegrind.sourceforge.net/html/Home.html

(All the major distros have these tools in their repos.)


	- Eero



More information about the mesa-dev mailing list