1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 #ifndef __EVENTPIPE_EVENTSOURCE_H__
6 #define __EVENTPIPE_EVENTSOURCE_H__
8 #ifdef FEATURE_PERFTRACING
10 class EventPipeProvider;
12 class EventPipeSession;
14 class EventPipeEventSource
17 const static WCHAR* s_pProviderName;
18 EventPipeProvider *m_pProvider;
20 const static WCHAR* s_pProcessInfoEventName;
21 EventPipeEvent *m_pProcessInfoEvent;
24 EventPipeEventSource();
25 ~EventPipeEventSource();
27 void Enable(EventPipeSession *pSession);
28 void SendProcessInfo(LPCWSTR pCommandLine);
31 #endif // FEATURE_PERFTRACING
33 #endif // __EVENTPIPE_EVENTSOURCE_H__