1 write to m_eventData
mscorlib (1)
system\diagnostics\eventing\eventsource.cs (1)
3526
source.
m_eventData
= eventData; // officially initialize it. We do this at most once (it is racy otherwise).
118 references to m_eventData
mscorlib (118)
system\diagnostics\eventing\eventsource.cs (118)
1183
Contract.Assert(
m_eventData
!= null); // You must have initialized this if you enabled the source.
1185
ValidateEventOpcodeForTransfer(ref
m_eventData
[eventId],
m_eventData
[eventId].Name);
1187
EventOpcode opcode = (EventOpcode)
m_eventData
[eventId].Descriptor.Opcode;
1188
EventActivityOptions activityOptions =
m_eventData
[eventId].ActivityOptions;
1198
m_activityTracker.OnStart(m_name,
m_eventData
[eventId].Name,
m_eventData
[eventId].Descriptor.Task, ref activityId, ref relActivityId,
m_eventData
[eventId].ActivityOptions);
1202
m_activityTracker.OnStop(m_name,
m_eventData
[eventId].Name,
m_eventData
[eventId].Descriptor.Task, ref activityId);
1212
if (
m_eventData
[eventId].EnabledForETW)
1234
if (!m_provider.WriteEvent(ref
m_eventData
[eventId].Descriptor, pActivityId, relatedActivityId, eventDataCount, (IntPtr)data))
1235
ThrowEventSourceException(
m_eventData
[eventId].Name);
1239
long origKwd = unchecked((long)((ulong)
m_eventData
[eventId].Descriptor.Keywords & ~(SessionMask.All.ToEventKeywords())));
1246
m_eventData
[eventId].Descriptor.EventId,
1247
m_eventData
[eventId].Descriptor.Version,
1248
m_eventData
[eventId].Descriptor.Channel,
1249
m_eventData
[eventId].Descriptor.Level,
1250
m_eventData
[eventId].Descriptor.Opcode,
1251
m_eventData
[eventId].Descriptor.Task,
1255
ThrowEventSourceException(
m_eventData
[eventId].Name);
1260
TraceLoggingEventTypes tlet =
m_eventData
[eventId].TraceLoggingEventTypes;
1263
tlet = new TraceLoggingEventTypes(
m_eventData
[eventId].Name,
1265
m_eventData
[eventId].Parameters);
1266
Interlocked.CompareExchange(ref
m_eventData
[eventId].TraceLoggingEventTypes, tlet, null);
1269
long origKwd = unchecked((long)((ulong)
m_eventData
[eventId].Descriptor.Keywords & ~(SessionMask.All.ToEventKeywords())));
1274
Level = (EventLevel)
m_eventData
[eventId].Descriptor.Level,
1275
Opcode = (EventOpcode)
m_eventData
[eventId].Descriptor.Opcode
1278
WriteMultiMerge(
m_eventData
[eventId].Name, ref opt, tlet, pActivityId, relatedActivityId, data);
1311
if (m_Dispatchers != null &&
m_eventData
[eventId].EnabledForAnyListener)
1319
ThrowEventSourceException(
m_eventData
[eventId].Name, ex);
1770
Type dataType =
m_eventData
[eventId].Parameters[parameterId].ParameterType;
1898
Contract.Assert(
m_eventData
!= null); // You must have initialized this if you enabled the source.
1901
ValidateEventOpcodeForTransfer(ref
m_eventData
[eventId],
m_eventData
[eventId].Name);
1911
if (!
m_eventData
[eventId].HasRelatedActivityID)
1917
LogEventArgsMismatches(
m_eventData
[eventId].Parameters, args);
1922
EventOpcode opcode = (EventOpcode)
m_eventData
[eventId].Descriptor.Opcode;
1923
EventActivityOptions activityOptions =
m_eventData
[eventId].ActivityOptions;
1930
m_activityTracker.OnStart(m_name,
m_eventData
[eventId].Name,
m_eventData
[eventId].Descriptor.Task, ref activityId, ref relatedActivityId,
m_eventData
[eventId].ActivityOptions);
1934
m_activityTracker.OnStop(m_name,
m_eventData
[eventId].Name,
m_eventData
[eventId].Descriptor.Task, ref activityId);
1944
if (
m_eventData
[eventId].EnabledForETW)
1962
if (!m_provider.WriteEvent(ref
m_eventData
[eventId].Descriptor, pActivityId, childActivityID, args))
1963
ThrowEventSourceException(
m_eventData
[eventId].Name);
1967
long origKwd = unchecked((long)((ulong)
m_eventData
[eventId].Descriptor.Keywords & ~(SessionMask.All.ToEventKeywords())));
1971
m_eventData
[eventId].Descriptor.EventId,
1972
m_eventData
[eventId].Descriptor.Version,
1973
m_eventData
[eventId].Descriptor.Channel,
1974
m_eventData
[eventId].Descriptor.Level,
1975
m_eventData
[eventId].Descriptor.Opcode,
1976
m_eventData
[eventId].Descriptor.Task,
1980
ThrowEventSourceException(
m_eventData
[eventId].Name);
1985
TraceLoggingEventTypes tlet =
m_eventData
[eventId].TraceLoggingEventTypes;
1988
tlet = new TraceLoggingEventTypes(
m_eventData
[eventId].Name,
1990
m_eventData
[eventId].Parameters);
1991
Interlocked.CompareExchange(ref
m_eventData
[eventId].TraceLoggingEventTypes, tlet, null);
1994
long origKwd = unchecked((long)((ulong)
m_eventData
[eventId].Descriptor.Keywords & ~(SessionMask.All.ToEventKeywords())));
1999
Level = (EventLevel)
m_eventData
[eventId].Descriptor.Level,
2000
Opcode = (EventOpcode)
m_eventData
[eventId].Descriptor.Opcode
2003
WriteMultiMerge(
m_eventData
[eventId].Name, ref opt, tlet, pActivityId, childActivityID, args);
2036
if (m_Dispatchers != null &&
m_eventData
[eventId].EnabledForAnyListener)
2057
ThrowEventSourceException(
m_eventData
[eventId].Name, ex);
2065
TraceLoggingEventTypes eventTypes =
m_eventData
[eventId].TraceLoggingEventTypes;
2068
eventTypes = new TraceLoggingEventTypes(
m_eventData
[eventId].Name,
2070
m_eventData
[eventId].Parameters);
2071
Interlocked.CompareExchange(ref
m_eventData
[eventId].TraceLoggingEventTypes, eventTypes, null);
2143
int paramCount =
m_eventData
[eventId].Parameters.Length;
2144
int modifiedParamCount = GetParamLengthIncludingByteArray(
m_eventData
[eventId].Parameters);
2169
eventCallbackArgs.EventName =
m_eventData
[eventId].Name;
2170
eventCallbackArgs.Message =
m_eventData
[eventId].Message;
2193
m_eventData
[eventId].TriggersActivityTracking > 0,
2330
m_eventData
[eventId].TriggersActivityTracking > 0, this, eventId) ||
2340
(EventOpcode)
m_eventData
[eventId].Descriptor.Opcode == EventOpcode.Send)
2376
EventLevel eventLevel = (EventLevel)
m_eventData
[eventNum].Descriptor.Level;
2377
EventKeywords eventKeywords = unchecked((EventKeywords)((ulong)
m_eventData
[eventNum].Descriptor.Keywords & (~(SessionMask.All.ToEventKeywords()))));
2380
EventChannel channel = unchecked((EventChannel)
m_eventData
[eventNum].Descriptor.Channel);
2619
Contract.Assert(
m_eventData
!= null);
2632
for (int i = 0; i <
m_eventData
.Length; i++)
2731
Contract.Assert(
m_eventData
!= null);
2783
for (int i = 0; i <
m_eventData
.Length; i++)
2794
m_eventData
[i].EnabledForAnyListener = isEnabledForAnyListener;
2982
if (eventId >=
m_eventData
.Length)
2986
m_eventData
[eventId].EnabledForETW = value;
2995
m_eventData
[eventId].EnabledForAnyListener = true;
3005
for (int i = 0; i <
m_eventData
.Length; i++)
3006
if (
m_eventData
[i].EnabledForETW ||
m_eventData
[i].EnabledForAnyListener)
3019
if (
m_eventData
== null)
3023
Contract.Assert(
m_eventData
!= null);
3041
dispatcher.m_EventEnabled = new bool[
m_eventData
.Length];
3694
if (
m_eventData
!= null)
3695
enabledArray = new bool[
m_eventData
.Length];
4770
return m_eventSource.
m_eventData
[EventId].Name;
4834
foreach (var parameter in m_eventSource.
m_eventData
[EventId].Parameters)
4865
return (EventKeywords)m_eventSource.
m_eventData
[EventId].Descriptor.Keywords;
4878
return (EventOpcode)m_eventSource.
m_eventData
[EventId].Descriptor.Opcode;
4892
return (EventTask)m_eventSource.
m_eventData
[EventId].Descriptor.Task;
4905
return m_eventSource.
m_eventData
[EventId].Tags;
4919
return m_eventSource.
m_eventData
[EventId].Message;
4938
return (EventChannel)m_eventSource.
m_eventData
[EventId].Descriptor.Channel;
4952
return m_eventSource.
m_eventData
[EventId].Descriptor.Version;
4965
return (EventLevel)m_eventSource.
m_eventData
[EventId].Descriptor.Level;
5277
if (cur.m_eventId >= 0 && cur.m_eventId < source.
m_eventData
.Length)
5278
--source.
m_eventData
[cur.m_eventId].TriggersActivityTracking;
5299
if (filterList.m_eventId >= 0 && filterList.m_eventId < source.
m_eventData
.Length)
5300
--source.
m_eventData
[filterList.m_eventId].TriggersActivityTracking;
5370
for (int j = 0; j < source.
m_eventData
.Length; j++)
5372
EventSource.EventMetadata[] ed = source.
m_eventData
;
5381
if (eventId < 0 || eventId >= source.
m_eventData
.Length)
5487
((EventOpcode)source.
m_eventData
[eventId].Descriptor.Opcode == EventOpcode.Send))
5544
(source.
m_eventData
[af.m_eventId].TriggersActivityTracking > 0 ||
5545
((EventOpcode)source.
m_eventData
[af.m_eventId].Descriptor.Opcode == EventOpcode.Send)))
5550
source.m_keywordTriggers |= (source.
m_eventData
[af.m_eventId].Descriptor.Keywords & (long)sessKeywords);
5688
if (0 <= eventId && eventId < source.
m_eventData
.Length)
5689
++source.
m_eventData
[eventId].TriggersActivityTracking;