Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Starts an EventPipe session. The session can be used by the profiler to write events which can be listened to by any EventPipe consumer.
Syntax
HRESULT EventPipeStartSession(
[in] UINT32 cProviderConfigs,
[in, size_is(cProviderConfigs)]
COR_PRF_EVENTPIPE_PROVIDER_CONFIG pProviderConfigs[],
[in] BOOL requestRundown,
[out] EVENTPIPE_SESSION* pSession);
Parameters
cProviderConfigs
[in] The number of providers in pProviderConfigs
.
pProviderConfigs
[in] An array of COR_PRF_EVENTPIPE_PROVIDER_CONFIG
used to specify what providers should be enabled for the session.
requestRundown
[in] A BOOL
indicating whether to emit rundown events when the session is closed.
pSession
[out] A caller provided pointer that will be filled with the session ID when the method returns.
Requirements
Platforms: See .NET supported operating systems.
Header: CorProf.idl, CorProf.h
.NET Versions: Available since .NET 5.0