tracing: Allow synthetic events to pass around stacktraces