mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-29 19:40:14 +01:00
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. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| cairo-trace.in | ||
| COPYING | ||
| COPYING-GPL-3 | ||
| lookup-symbol.c | ||
| lookup-symbol.h | ||
| Makefile.am | ||
| trace.c | ||