diff --git a/manual/techdoc.tex b/manual/techdoc.tex index 6492e81a..fe54f2a2 100644 --- a/manual/techdoc.tex +++ b/manual/techdoc.tex @@ -258,7 +258,7 @@ This is a very OS-specific task. It is split into two parts: getting the call st On some platforms a bit of setup work is required. This is done in the \texttt{InitCallstack()} function. -On Windows, tracy will attempt to preload symbols at \texttt{InitCallstack()} time. It does this for device drivers and process modules. As this process can be slow when a lot of pdbs are involved, you can set the \texttt{TRACY\_NO\_DBHELP\_INIT\_LOAD} environment variable to "1" to disable this behavior and rely on-demand symbol loading. +On Windows, tracy will attempt to preload symbols at \texttt{InitCallstack()} time. It does this for device drivers and process modules. As this process can be slow when a lot of pdbs are involved, you can set the \texttt{TRACY\_NO\_DBGHELP\_INIT\_LOAD} environment variable to "1" to disable this behavior and rely on-demand symbol loading. \subsubsection{Getting the frames} diff --git a/manual/tracy.tex b/manual/tracy.tex index 21ba007a..9773c180 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -1788,7 +1788,7 @@ void DbgHelpUnlock() { ReleaseMutex(dbgHelpLock); } } \end{lstlisting} -At initilization time, tracy will attempt to preload symbols for device drivers and process modules. As this process can be slow when a lot of pdbs are involved, you can set the \texttt{TRACY\_NO\_DBHELP\_INIT\_LOAD} environment variable to "1" to disable this behavior and rely on-demand symbol loading. +At initilization time, tracy will attempt to preload symbols for device drivers and process modules. As this process can be slow when a lot of pdbs are involved, you can set the \texttt{TRACY\_NO\_DBGHELP\_INIT\_LOAD} environment variable to "1" to disable this behavior and rely on-demand symbol loading. \paragraph{Disabling resolution of inline frames} diff --git a/public/client/TracyCallstack.cpp b/public/client/TracyCallstack.cpp index 10b23e6e..c02c6275 100644 --- a/public/client/TracyCallstack.cpp +++ b/public/client/TracyCallstack.cpp @@ -361,11 +361,11 @@ void InitCallstack() DBGHELP_LOCK; #endif - // use TRACY_NO_DBHELP_INIT_LOAD=1 to disable preloading of driver + // use TRACY_NO_DBGHELP_INIT_LOAD=1 to disable preloading of driver // and process module symbol loading at startup time - they will be loaded on demand later // Sometimes this process can take a very long time and prevent resolving callstack frames // symbols during that time. - const char* noInitLoadEnv = GetEnvVar( "TRACY_NO_DBHELP_INIT_LOAD" ); + const char* noInitLoadEnv = GetEnvVar( "TRACY_NO_DBGHELP_INIT_LOAD" ); const bool initTimeModuleLoad = !( noInitLoadEnv && noInitLoadEnv[0] == '1' ); if ( !initTimeModuleLoad ) {