summaryrefslogtreecommitdiff
path: root/src/vm/eventpipeprotocolhelper.cpp
diff options
context:
space:
mode:
authorJosé Rivero <jorive@microsoft.com>2019-05-28 23:17:02 -0700
committerGitHub <noreply@github.com>2019-05-28 23:17:02 -0700
commit19edba3699daca1002bcd748e152d526d5b7bb69 (patch)
treec44be3a305bbb2a727a8f32a3895880568d80368 /src/vm/eventpipeprotocolhelper.cpp
parentc614a00fed86ffa921b55d169bb6a7eb8625c7ff (diff)
downloadcoreclr-19edba3699daca1002bcd748e152d526d5b7bb69.tar.gz
coreclr-19edba3699daca1002bcd748e152d526d5b7bb69.tar.bz2
coreclr-19edba3699daca1002bcd748e152d526d5b7bb69.zip
Create the Concept of Multiple EventPipe Sessions (#24417)
This is the initial work to enable https://github.com/dotnet/coreclr/issues/15377 ## What's here? - A lot of code move/split. Some important moves: - `EventPipe` has a colection of `EventPipeSessions` instead of a single session. - `EventPipeSession` now owns a `EventPipeBufferManager` and a `EventPipeFile` - `EventPipeThread` now owns a collection of { EventPipeBufferManager, EventPipeBuffer }, and a collection of { EventPipeBufferManager, EventPipeBufferList } - There is a cap on the max number of `EventPipeSession` (64 sessions) - `EventPipeProvider` and `EventPipeEvent` use a 64-bit mask to keep track of the sessions that are listening to provider/events. ## What's pending? https://github.com/dotnet/coreclr/issues/24753
Diffstat (limited to 'src/vm/eventpipeprotocolhelper.cpp')
-rw-r--r--src/vm/eventpipeprotocolhelper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vm/eventpipeprotocolhelper.cpp b/src/vm/eventpipeprotocolhelper.cpp
index 7ec9fc94f5..ab3299d4c8 100644
--- a/src/vm/eventpipeprotocolhelper.cpp
+++ b/src/vm/eventpipeprotocolhelper.cpp
@@ -190,7 +190,6 @@ void EventPipeProtocolHelper::CollectTracing(DiagnosticsIpc::IpcMessage& message
auto sessionId = EventPipe::Enable(
nullptr, // strOutputPath (ignored in this scenario)
payload->circularBufferSizeInMB, // circularBufferSizeInMB
- DefaultProfilerSamplingRateInNanoseconds, // ProfilerSamplingRateInNanoseconds
payload->providerConfigs.Ptr(), // pConfigs
static_cast<uint32_t>(payload->providerConfigs.Size()), // numConfigs
EventPipeSessionType::IpcStream, // EventPipeSessionType