[Mesa-dev] How difficult would it be to have debugging information for Jitted code show up?

Kenneth Graunke kenneth at whitecape.org
Wed Nov 12 15:05:07 PST 2014


On Wednesday, November 12, 2014 10:09:00 PM Steven Stewart-Gallus wrote:
> OpenGL vendor string: Intel Open Source Technology Center
> OpenGL renderer string: Mesa DRI Intel(R) Bay Trail 
> OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.3

You're using the classic Intel driver (i965_dri.so) on Baytrail.

If you want to be able to use tools like sysprof or perf, you just need to 
build Mesa with debugging symbols.

I recommend:

CFLAGS='-g -O2 -fno-omit-frame-pointer' CXXFLAGS='-g -O2 -fno-omit-frame-
pointer' ./autogen.sh --enable-gles1 --enable-gles2 --enable-glx-tls --with-
egl-platforms=x11,drm --with-gallium-drivers= --with-dri-drivers=i965,swrast

This should give you actual function names instead of ?? inside of 
i965_dri.so.

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141112/63f62808/attachment.sig>


More information about the mesa-dev mailing list