From: José Fonseca Date: Sun, 17 Apr 2011 21:30:26 +0000 (+0100) Subject: Intercept dlopen("libGL.so") too X-Git-Tag: 2.0_alpha^2~1052 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94215537cc85e6aecbbeea9bc5a08741b1618ac6;p=tools%2Fapitrace.git Intercept dlopen("libGL.so") too --- diff --git a/glxtrace.py b/glxtrace.py index 050a082..a5317a4 100644 --- a/glxtrace.py +++ b/glxtrace.py @@ -114,7 +114,8 @@ void *dlopen(const char *filename, int flag) } // FIXME: handle absolute paths and other versions - if (strcmp(filename, "libGL.so.1") == 0) { + if (strcmp(filename, "libGL.so") == 0 || + strcmp(filename, "libGL.so.1") == 0) { // Use the true libGL.so handle instead of RTLD_NEXT from now on libgl_handle = handle;