instrument_flight_tracer (instrument v1.0.0)
View SourceWorker process for receiving and storing trace events.
This module implements a worker that receives trace events from the tracer NIF and inserts them into the shared ETS buffer. Each worker handles a subset of tracees based on pid hashing, distributing the load across multiple processes.
Features: - Uses off_heap message queue to reduce GC pressure - Batch inserts events to minimize ETS overhead - Handles overflow by evicting oldest entries
Summary
Functions
-spec start_link(non_neg_integer()) -> {ok, pid()} | ignore | {error, term()}.
Starts a flight tracer worker.