cairo/util/cairo-trace
M Joonas Pihlaja ba21f21356 [trace] Don't trace internal cairo calls on Solaris.
On various configurations of Solaris cairo-trace likes to trace
internal calls to the API from within cairo and cairo-trace itself. On
Linux the slim_hidden_proto stuff avoids this by name mangling and
symbol alias magic, but on Solaris that doesn't work so we're left
with either no hidden symbols at all or using normal ELF hidden symbol
attributes, but neither of those prevent internal calls to cairo from
being traced of course.

This commit provides a per-thread entry/exit trace counter for use
when we can't use name mangling to hide internal API calls.  As a
side-effect it may hide actual client API calls from callback
functions called by cairo, but such use cases ought to be rare.
2009-09-13 20:33:33 +03:00
..
.gitignore [.gitignore] Add 2008-10-31 13:43:37 -04:00
cairo-trace.in [trace] Get the tracee program name from the environment. 2009-09-02 04:42:07 +01:00
COPYING Add a COPYING file to each aux. source directory 2008-10-31 16:14:14 +00:00
COPYING-GPL-3 Add a COPYING file to each aux. source directory 2008-10-31 16:14:14 +00:00
lookup-symbol.c [trace] Simple unbounded cache for symbol lookups. 2008-11-19 11:59:20 +00:00
lookup-symbol.h [util] Add cairo-trace. 2008-10-31 15:37:58 +00:00
Makefile.am [configure] --enable-symbol-lookup 2009-09-13 10:52:14 +01:00
trace.c [trace] Don't trace internal cairo calls on Solaris. 2009-09-13 20:33:33 +03:00