Files
tracy/public/client
Bartosz Taudul dfded9d55d Recover main thread producer orphaned by cross-module init order.
ELF init_priority only orders constructors within a single module. All of
a shared object's initializers run before any of the executable's, so an
instrumented dependency .so emitting a zone from its static initializer
creates the main thread producer token against the zero-initialized
s_queue. The queue constructor then resets the producer list, orphaning
that producer: every zone emitted on the main thread from that point on
is enqueued into blocks no consumer ever iterates and silently lost,
while sampling (worker thread producer) keeps working.

Re-link such a producer right after the queue is constructed. In the
common case, where nothing was emitted during shared object init, this
merely constructs the main thread token eagerly.
2026-06-11 20:05:57 +02:00
..
2025-07-16 12:51:16 +02:00
2022-07-30 13:29:57 +02:00
2026-03-04 21:42:14 -08:00
2022-07-20 01:06:12 +02:00
2023-03-10 00:23:09 +01:00
2026-06-04 12:08:53 +02:00