Merge "Move emulator tracing into its own file."