1 instantiation of EtwSession
mscorlib (1)
system\diagnostics\eventing\eventsource.cs (1)
5799
etwSession = new
EtwSession
(etwSessionId);
28 references to EtwSession
mscorlib (28)
system\diagnostics\eventing\eventsource.cs (28)
1492
m_etwSessionIdMap = new
EtwSession
[SessionMask.MAX];
2318
EtwSession
etwSession = m_etwSessionIdMap[i];
2345
foreach (
var
legacyEtwSession in m_legacySessions)
2760
EtwSession
etwSession = m_etwSessionIdMap[i];
2860
var
etwSession =
EtwSession
.GetEtwSession(etwSessionId, true);
2867
var
etwSession =
EtwSession
.GetEtwSession(etwSessionId);
2874
EtwSession
.RemoveEtwSession(etwSession);
2885
m_legacySessions = new List<
EtwSession
>(8);
2886
var
etwSession =
EtwSession
.GetEtwSession(etwSessionId, true);
2892
var
etwSession =
EtwSession
.GetEtwSession(etwSessionId);
2898
EtwSession
.RemoveEtwSession(etwSession);
2957
EtwSession
etwSession = m_etwSessionIdMap[sessId];
4014
EtwSession
etwSession = m_etwSessionIdMap[perEventSourceSessionId];
4081
private
EtwSession
[] m_etwSessionIdMap; // the activity-tracing aware sessions
4082
private List<
EtwSession
> m_legacySessions; // the legacy ETW sessions listening to this source
5769
public static
EtwSession
GetEtwSession(int etwSessionId, bool bCreateIfNeeded = false)
5774
EtwSession
etwSession;
5797
s_etwSessions = new List<WeakReference<
EtwSession
>>();
5800
s_etwSessions.Add(new WeakReference<
EtwSession
>(etwSession));
5810
public static void RemoveEtwSession(
EtwSession
etwSession)
5818
EtwSession
session;
5842
EtwSession
session;
5859
private static List<WeakReference<
EtwSession
>> s_etwSessions = new List<WeakReference<
EtwSession
>>();