tracing: Separate open function from set_event and available_events