From feb4e7c989871abc662928a9ada7f382d83247a1 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 9 Jun 2026 23:24:58 +0200 Subject: [PATCH] Generate random names for new annotations. --- profiler/src/profiler/TracyView_Annotations.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiler/src/profiler/TracyView_Annotations.cpp b/profiler/src/profiler/TracyView_Annotations.cpp index 01c69036..28045654 100644 --- a/profiler/src/profiler/TracyView_Annotations.cpp +++ b/profiler/src/profiler/TracyView_Annotations.cpp @@ -1,4 +1,5 @@ #include "TracyImGui.hpp" +#include "TracyNameGen.hpp" #include "TracyPrint.hpp" #include "TracyView.hpp" #include "tracy_pdqsort.h" @@ -10,6 +11,7 @@ namespace tracy void View::AddAnnotation( int64_t start, int64_t end ) { auto ann = std::make_shared(); + ann->text = GenerateAbstractName(); ann->range.active = true; ann->range.min = start; ann->range.max = end;