Add profiler startup command to the diagnostics command set (#52175)
authorDavid Mason <davmason@microsoft.com>
Fri, 7 May 2021 07:51:39 +0000 (00:51 -0700)
committerGitHub <noreply@github.com>
Fri, 7 May 2021 07:51:39 +0000 (00:51 -0700)
commitf511a4af3d25e68796bdb7e27a121dab79c88d89
treee262e6dd37d0ef4f8f99077d139d065bc010ce5c
parent9c54ae4f56a7121504e938a71b4e500dcd7862d5
Add profiler startup command to the diagnostics command set (#52175)

Add a diagnostics IPC command to load a startup profiler
27 files changed:
src/coreclr/inc/profilepriv.h
src/coreclr/vm/ceemain.cpp
src/coreclr/vm/diagnosticserveradapter.h
src/coreclr/vm/eventing/eventpipe/ds-rt-coreclr.h
src/coreclr/vm/profilinghelper.cpp
src/mono/mono/eventpipe/ds-rt-mono.h
src/native/eventpipe/ds-profiler-protocol.c
src/native/eventpipe/ds-profiler-protocol.h
src/native/eventpipe/ds-rt.h
src/native/eventpipe/ds-server.c
src/native/eventpipe/ds-server.h
src/native/eventpipe/ds-types.h
src/tests/profiler/common/DiagnosticsIPCWorkaround.cs [new file with mode: 0644]
src/tests/profiler/common/ProfilerControl.cs
src/tests/profiler/common/ProfilerTestRunner.cs
src/tests/profiler/common/profiler_common.csproj
src/tests/profiler/eventpipe/reverse_startup.cs [new file with mode: 0644]
src/tests/profiler/eventpipe/reverse_startup.csproj [new file with mode: 0644]
src/tests/profiler/native/CMakeLists.txt
src/tests/profiler/native/classfactory.cpp
src/tests/profiler/native/nullprofiler/nullprofiler.cpp [new file with mode: 0644]
src/tests/profiler/native/nullprofiler/nullprofiler.h [new file with mode: 0644]
src/tests/profiler/native/profiler.cpp
src/tests/profiler/native/profiler.h
src/tests/profiler/native/releaseondetach/releaseondetach.cpp
src/tests/profiler/native/releaseondetach/releaseondetach.h
src/tests/tracing/eventpipe/common/Reverse.cs