[EventPipe] Minor bug fixes, and remove redundant/unused code. (dotnet/coreclr#23956)
authorJosé Rivero <jorive@microsoft.com>
Wed, 17 Apr 2019 01:58:31 +0000 (18:58 -0700)
committerGitHub <noreply@github.com>
Wed, 17 Apr 2019 01:58:31 +0000 (18:58 -0700)
commita272b20666f94c6dd4cac3f9491d5bb58daccf49
treeaf8600518ca3b79662352f5df7637745d7764982
parenta178ea20a46024aa34a693c8324f2c3c92fb2ac2
[EventPipe] Minor bug fixes, and remove redundant/unused code. (dotnet/coreclr#23956)

- Update MicrosoftDiagnosticsTracingTraceEventPackageVersion
- Delete connection if the request is unknown/unhandled
- Adding missing error handling.
  - Provider names must be defined.
- Some renaming, error handling, and build warnings.
- Removing test code, and merge EventPipe::Enable functions.
- Remove commented/non-used lines.

Commit migrated from https://github.com/dotnet/coreclr/commit/b388f6cd87d87f4a07fe966aaa1bc92f245165d9
15 files changed:
src/coreclr/dependencies.props
src/coreclr/src/debug/debug-pal/win/diagnosticsipc.cpp
src/coreclr/src/vm/diagnosticserver.cpp
src/coreclr/src/vm/diagnosticserver.h
src/coreclr/src/vm/eventpipe.cpp
src/coreclr/src/vm/eventpipe.h
src/coreclr/src/vm/eventpipeconfiguration.cpp
src/coreclr/src/vm/eventpipeinternal.cpp
src/coreclr/src/vm/eventpipeinternal.h
src/coreclr/src/vm/eventpipeprotocolhelper.cpp
src/coreclr/src/vm/eventpipeprotocolhelper.h
src/coreclr/src/vm/eventpipesession.cpp
src/coreclr/src/vm/eventpipesession.h
src/coreclr/src/vm/fastserializer.cpp
src/coreclr/src/vm/fastserializer.h