Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-04-05 21:51:37 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-04-05 21:51:37 +0300
commita763991a00d70682fe1ce0be5abf5917029d1ca3 (patch)
treeabeaf0f317f4d716c592e34266caee6df5f0088a /manual
parentfc473a0c9def4204147abd2fba4fccb94ab55712 (diff)
Note that feature flags must be consistent.
Diffstat (limited to 'manual')
-rw-r--r--manual/tracy.tex10
1 files changed, 10 insertions, 0 deletions
diff --git a/manual/tracy.tex b/manual/tracy.tex
index 089cb9ae..78d3e84c 100644
--- a/manual/tracy.tex
+++ b/manual/tracy.tex
@@ -514,6 +514,16 @@ If you are experiencing crashes or freezes when manually loading/unloading a sep
\texttt{TRACY\_DELAYED\_INIT} enables a path where profiler data is gathered into one structure and initialized on the first request rather than statically at the DLL load at the expense of atomic load on each request to the profiler data. \texttt{TRACY\_MANUAL\_LIFETIME} flag augments this behavior to provide manual \texttt{StartupProfiler} and \texttt{ShutdownProfiler} functions that allow you to create and destroy the profiler data manually. This manual management removes the need to do an atomic load on each call and lets you define an appropriate place to free the resources.
+\begin{bclogo}[
+noborder=true,
+couleur=black!5,
+logo=\bcbombe
+]{Keep everything consistent}
+When working with multiple libraries, it is easy to make a mistake and use different sets of feature macros between any two compilation jobs. If you do so, Tracy will not be able to work correctly, and there will be no error or warning messages about the problem. Henceforth, you must make sure each shared object you want to link with, or load uses the same set of macro definitions.
+
+Please note that using a prebuilt shared Tracy library, as provided by some package manager or system distribution, also qualifies as using multiple libraries.
+\end{bclogo}
+
\subsubsection{Problematic platforms}
In the case of some programming environments, you may need to take extra steps to ensure Tracy can work correctly.