[NativeAOT] Handle event pipe environment variable configuration and output to file...
authorElinor Fung <elfung@microsoft.com>
Thu, 25 May 2023 19:40:52 +0000 (21:40 +0200)
committerGitHub <noreply@github.com>
Thu, 25 May 2023 19:40:52 +0000 (21:40 +0200)
commit12a7bda6950288312ca9876a8b37b085b1944af6
tree17c5e5b3aafbafe12a48c8b7608feaf2d34ee093
parentceb1d8636e079ff4d9c207e1da6299a57f8c29d8
[NativeAOT] Handle event pipe environment variable configuration and output to file (#86656)

Updates to NativeAOT event pipe:
- Respect environment variable configuration
- Handle writing out to a file
- Enable tracing/eventpipe/config/name_config_with_pid test, which uses environment variable configuration to write directly to a file.
14 files changed:
src/coreclr/gc/env/gcenv.structs.h
src/coreclr/nativeaot/Runtime/PalRedhawk.h
src/coreclr/nativeaot/Runtime/PalRedhawkFunctions.h
src/coreclr/nativeaot/Runtime/RhConfig.cpp
src/coreclr/nativeaot/Runtime/RhConfig.h
src/coreclr/nativeaot/Runtime/SpinLock.h
src/coreclr/nativeaot/Runtime/eventpipe/ep-rt-aot.cpp
src/coreclr/nativeaot/Runtime/eventpipe/ep-rt-aot.h
src/coreclr/nativeaot/Runtime/eventpipe/ep-rt-types-aot.h
src/coreclr/nativeaot/Runtime/unix/PalRedhawkUnix.cpp
src/coreclr/nativeaot/Runtime/windows/PalRedhawkMinWin.cpp
src/tests/issues.targets
src/tests/tracing/eventpipe/config/name_config_with_pid.cs
src/tests/tracing/eventpipe/config/name_config_with_pid.csproj