perf: Add a sample_event type to the event_union