summaryrefslogtreecommitdiff
path: root/src/vm/eventpipeeventsource.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-04-16Use delete [] on array types (#24027)Omair Majid1-1/+1
Calling delete on types allocated with new[] leads to undefined behaviour.
2019-03-21Avoid stack walk as specified in the exclusion listAndrew Au1-0/+1
2019-03-18[EventPipe] Adding an IPC server to handle out of process communication. ↵José Rivero1-0/+1
(#23106) This is the first commit to enable a "diagnostic port" using IPC (Named Pipe on Windows and Unix Domain Socket on other platforms). This change currently enable EventPipe to be enabled/disabled without the use of a file drop. - Split the DiagnosticsIpc into (DiagnosticsIpc/IpcStream) - DiagnosticsIpc (IPC listener) is meant to be used by the Diagnostic server. - IpcStream (IPC channel) is meant to be use to communicate with the connected client. - Change the FastSerializer dependency from `CFileStream` to `StreamWriter` This abstraction is meant decouple the writing of objects in order to extend its usability. The main objective is to reuse FastSerializer to stream data through the open IPC channel. - Moved the EventPipeSessionProvider* classes to their own file. - Added a more streamlined parsing achievable by defining a simpler binary protocol (by noahfalk). 1. Only one allocation is needed for the EventPipeProviderConfiguration array, no allocations or copies are needed for strings because we can refer to them directly out of the incoming command buffer 2. No change to the EventPipe API for enable is required. EventPipeProviderConfiguration retains its current behavior of not deleting the string pointers it holds. 3. No leaks happen because the command buffer owns the string memory and ensures that it stays alive for the duration of the Enable() call.
2018-11-08EventPipe support for "Parameters" (#20796)José Rivero1-1/+2
These changes enable passing "arguments" to an EventSource.
2018-06-04Flow EventSources to EventPipe on Windows (#18217)Brian Robbins1-1/+1
2018-03-21Add More Process Information to EventPipe Traces (#17080)Brian Robbins1-0/+118