[Mesa-dev] [PATCH] texobj: add verbose api trace messages to several routines

Alexander Monakov amonakov at ispras.ru
Tue Mar 5 01:35:12 PST 2013


On Tue, 5 Mar 2013, Jose Fonseca wrote:

> I expected that when one sets TRACE_LIBGL env var with the path for the true
> libGL.so.1, then apitrace wouldn't be picking up symbols the overlay -- it
> would be taking symbols only from the true libGL.so, there avoiding infinite
> recursion.

... unless the overlay interposes dlsym and/or dlopen -- which it does, like
apitrace, and virtualgl, and glc, and what not.  This eternal battle for
dominating symbols is quite depressing.  Proper support in the dynamic loader
for wrapper libraries would help immensely here.

Alexander


More information about the mesa-dev mailing list