diff options
| author | Rye <rye@alchemyviewer.org> | 2025-11-02 01:05:40 -0500 |
|---|---|---|
| committer | Rye <rye@alchemyviewer.org> | 2025-11-02 21:40:05 -0500 |
| commit | 76837f96554a683462bb9a28457b7b0d9c078bff (patch) | |
| tree | 1295b5a3866e0b00c0ba5d5590356534be1fcbae /indra/test | |
| parent | d2e80039df1712734a6e3b0d811d73f850345157 (diff) | |
Fix support for setting thread names on linux and macos
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/test')
| -rw-r--r-- | indra/test/test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp index b611e52835..bf685ef20f 100644 --- a/indra/test/test.cpp +++ b/indra/test/test.cpp @@ -505,6 +505,11 @@ static LLTrace::ThreadRecorder* sMasterThreadRecorder = NULL; int main(int argc, char **argv) { + // Call Tracy first thing to have it allocate memory + // https://github.com/wolfpld/tracy/issues/196 + LL_PROFILER_FRAME_END; + LL_PROFILER_SET_THREAD_NAME("App"); + ll_init_apr(); apr_getopt_t* os = NULL; if(APR_SUCCESS != apr_getopt_init(&os, gAPRPoolp, argc, argv)) |
