mirror of
https://github.com/wolfpld/tracy.git
synced 2026-11-19 22:25:59 +00:00
get_samples_for_symbol, get_zone_occurrences_with_thread and get_messages returned the worker's compressed thread index where the other bindings (get_threads, get_thread_name, get_thread_zone_stats) take an OS thread id, and where get_zone_occurrences_with_thread documents one. get_zone_occurrences_with_thread also looked the index up by position in GetThreadData(), which isn't ordered by it, so zones were attributed to another thread. Decompress the index with Worker::DecompressThread, as get_thread_zone_stats and the profiler do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>