What part of stream state is captured when an event is recorded?

Stream 2 will wait until all operations that were submitted to stream 1 before cudaEventRecord have finished.