9 types derived from EventSource
mscorlib (5)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
608
internal sealed class PinnableBufferCacheEventSource :
EventSource
system\Collections\Concurrent\CDSCollectionETWBCLProvider.cs (1)
34
internal sealed class CDSCollectionETWBCLProvider :
EventSource
system\diagnostics\eventing\frameworkeventsource.cs (1)
34
sealed internal class FrameworkEventSource :
EventSource
{
system\threading\CDSsyncETWBCLProvider.cs (1)
36
internal sealed class CdsSyncEtwBCLProvider :
EventSource
system\threading\Tasks\TPLETWProvider.cs (1)
32
internal sealed class TplEtwProvider :
EventSource
System (1)
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
608
internal sealed class PinnableBufferCacheEventSource :
EventSource
System.Core (1)
System\Linq\Parallel\Utils\PLINQETWProvider.cs (1)
32
internal sealed class PlinqEtwProvider :
EventSource
System.Data (1)
fx\src\data\System\Data\Common\SqlEventSource.cs (1)
14
internal sealed class SqlEventSource :
EventSource
System.Web (1)
AspNetEventSource.cs (1)
23
internal sealed class AspNetEventSource :
EventSource
{
141 references to EventSource
mscorlib (137)
system\diagnostics\eventing\activitytracker.cs (7)
120
relatedActivityId =
EventSource
.CurrentThreadActivityId;
269
if (activityName.EndsWith(
EventSource
.s_ActivityStartSuffix))
270
activityName = activityName.Substring(0, activityName.Length -
EventSource
.s_ActivityStartSuffix.Length);
271
else if (activityName.EndsWith(
EventSource
.s_ActivityStopSuffix))
272
activityName = activityName.Substring(0, activityName.Length -
EventSource
.s_ActivityStopSuffix.Length);
568
EventSource
.SetCurrentThreadActivityId(prev.m_activityIdToRestore);
582
EventSource
.SetCurrentThreadActivityId(cur.ActivityId);
system\diagnostics\eventing\eventsource.cs (98)
213
/// call one of the EventSource.WriteEvent overloads, <see cref="
EventSource
.WriteEventCore"/>,
214
/// or <see cref="
EventSource
.WriteEventWithRelatedActivityIdCore"/> to log them. This functionality
224
/// <see cref="
EventSource
.OnEventCommand"/>).
465
byte[] manifestBytes =
EventSource
.CreateManifestAndDescriptors(eventSourceType, assemblyPathToIncludeInManifest, null, flags);
474
public static IEnumerable<
EventSource
> GetSources()
476
var ret = new List<
EventSource
>();
481
EventSource
eventSource = eventSourceRef.Target as
EventSource
;
498
public static void SendCommand(
EventSource
eventSource, EventCommand command, IDictionary<string, string> commandArguments)
779
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[1];
792
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[2];
807
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[3];
825
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[1];
838
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[2];
853
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[3];
874
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[1];
893
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[2];
916
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[3];
938
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[2];
957
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[3];
979
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[2];
999
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[2];
1019
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[2];
1039
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[2];
1059
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[3];
1145
protected unsafe void WriteEventCore(int eventId, int eventDataCount,
EventSource
.EventData* data)
1177
protected unsafe void WriteEventWithRelatedActivityIdCore(int eventId, Guid* relatedActivityId, int eventDataCount,
EventSource
.EventData* data)
1764
private unsafe object DecodeObject(int eventId, int parameterId, ref
EventSource
.EventData* data)
2137
unsafe private void WriteToAllListeners(int eventId, Guid* activityID, Guid* childActivityID, int eventDataCount,
EventSource
.EventData* data)
2153
EventSource
.EventData* dataPtr = data;
2505
public OverideEventProvider(
EventSource
eventSource)
2517
private
EventSource
m_eventSource;
3028
EventSource
eventSource = eventSourceRef.Target as
EventSource
;
3251
if (reflectionOnly && eventSourceType.FullName != typeof(
EventSource
).FullName ||
3252
!reflectionOnly && eventSourceType != typeof(
EventSource
))
3268
private static byte[] CreateManifestAndDescriptors(Type eventSourceType, string eventSourceDllName,
EventSource
source,
3355
if (eventSourceType != typeof(
EventSource
))
4140
/// of <see cref="
EventSource
"/>), in the current appdomain. When a new EventListener is created
4288
public void EnableEvents(
EventSource
eventSource, EventLevel level)
4303
public void EnableEvents(
EventSource
eventSource, EventLevel level, EventKeywords matchAnyKeyword)
4319
public void EnableEvents(
EventSource
eventSource, EventLevel level, EventKeywords matchAnyKeyword, IDictionary<string, string> arguments)
4334
public void DisableEvents(
EventSource
eventSource)
4352
public static int EventSourceIndex(
EventSource
eventSource) { return eventSource.m_id; }
4367
internal protected virtual void OnEventSourceCreated(
EventSource
eventSource)
4405
internal static void AddEventSource(
EventSource
newEventSource)
4468
EventSource
es = esRef.Target as
EventSource
;
4489
EventSource
eventSource = eventSourceRef.Target as
EventSource
;
4541
EventSource
eventSource = eventSourceRef.Target as
EventSource
;
4615
EventSource
eventSource = eventSourceRef.Target as
EventSource
;
4708
internal EventCommandEventArgs(EventCommand command, IDictionary<string, string> arguments,
EventSource
eventSource,
4722
internal
EventSource
eventSource;
4745
public
EventSource
EventSource
4794
activityId =
EventSource
.CurrentThreadActivityId;
4853
public
EventSource
EventSource { get { return m_eventSource; } }
4970
internal EventWrittenEventArgs(
EventSource
eventSource)
4976
private
EventSource
m_eventSource;
5028
/// Any instance methods in a class that subclasses <see cref="
EventSource
"/> and that return void are
5258
public static void DisableFilter(ref ActivityFilter filterList,
EventSource
source)
5324
EventSource
source,
5372
EventSource
.EventMetadata[] ed = source.m_eventData;
5394
public static ActivityFilter GetFilter(ActivityFilter filterList,
EventSource
source)
5421
EventSource
source,
5446
Guid currentActivityId =
EventSource
.InternalCurrentThreadActivityId;
5460
Guid currentActivityId =
EventSource
.InternalCurrentThreadActivityId;
5484
activeActivities.ContainsKey(
EventSource
.InternalCurrentThreadActivityId);
5502
activeActivities.ContainsKey(
EventSource
.InternalCurrentThreadActivityId))
5530
activeActivities[
EventSource
.InternalCurrentThreadActivityId] = Environment.TickCount;
5539
public static void UpdateKwdTriggers(ActivityFilter activityFilter, Guid sourceGuid,
EventSource
source, EventKeywords sessKeywords)
5584
EventSource
.s_activityDying = (Action<Guid>)Delegate.Remove(
EventSource
.s_activityDying, m_myActivityDelegate);
5596
private ActivityFilter(
EventSource
source, int perEventSourceSessionId, int eventId, int samplingFreq, ActivityFilter existingFilter = null)
5619
EventSource
.s_activityDying = (Action<Guid>)Delegate.Combine(
EventSource
.s_activityDying, m_myActivityDelegate);
5646
EventSource
.s_activityDying = (Action<Guid>)Delegate.Combine(
EventSource
.s_activityDying, filterList.m_myActivityDelegate);
5675
private static bool EnableFilter(ref ActivityFilter filterList,
EventSource
source, int perEventSourceSessionId, int eventId, int samplingFreq)
6414
bool isbitmap =
EventSource
.GetCustomAttributeHelper(enumType, typeof(FlagsAttribute), flags) != null;
system\diagnostics\eventing\frameworkeventsource.cs (10)
101
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[4];
125
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[3];
147
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[4];
168
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[3];
186
EventSource
.EventData* descrs = stackalloc
EventSource
.EventData[4];
System\Diagnostics\Eventing\TraceLogging\DataCollector.cs (5)
28
private
EventSource
.EventData* datasEnd;
30
private
EventSource
.EventData* datasStart;
32
private
EventSource
.EventData* datas;
42
EventSource
.EventData* datas,
70
internal
EventSource
.EventData* Finish()
System\Diagnostics\Eventing\TraceLogging\EventSourceActivity.cs (6)
31
public EventSourceActivity(
EventSource
eventSource)
43
public static implicit operator EventSourceActivity(
EventSource
eventSource) { return new EventSourceActivity(eventSource); }
49
public
EventSource
EventSource
217
public void Write<T>(
EventSource
source, string eventName, EventSourceOptions options, T data)
265
private void Write<T>(
EventSource
eventSource, string eventName, ref EventSourceOptions options, ref T data)
307
private readonly
EventSource
eventSource;
system\runtime\compilerservices\TaskAwaiter.cs (2)
283
EventSource
.SetCurrentThreadActivityId(TplEtwProvider.CreateGuidForTaskID(task.Id), out prevActivityId);
292
EventSource
.SetCurrentThreadActivityId(prevActivityId);
system\runtime\compilerservices\YieldAwaitable.cs (2)
144
EventSource
.SetCurrentThreadActivityId(TplEtwProvider.CreateGuidForTaskID(continuationId), out prevActivityId);
151
EventSource
.SetCurrentThreadActivityId(prevActivityId);
system\threading\Tasks\Task.cs (2)
2784
EventSource
.SetCurrentThreadActivityId(TplEtwProvider.CreateGuidForTaskID(this.Id), out savedActivityID);
2846
EventSource
.SetCurrentThreadActivityId(savedActivityID);
system\threading\Tasks\TaskContinuation.cs (4)
459
System.Diagnostics.Tracing.
EventSource
.SetCurrentThreadActivityId(activityId, out savedActivityId);
461
finally { System.Diagnostics.Tracing.
EventSource
.SetCurrentThreadActivityId(savedActivityId); }
671
System.Diagnostics.Tracing.
EventSource
.SetCurrentThreadActivityId(activityId, out savedActivityId);
697
System.Diagnostics.Tracing.
EventSource
.SetCurrentThreadActivityId(savedActivityId);
system\threading\Tasks\TPLETWProvider.cs (1)
756
uint pid =
EventSource
.s_currentPid;
System.Web (4)
AspNetEventSource.cs (1)
38
MethodInfo writeEventWithRelatedActivityIdCoreMethod = typeof(
EventSource
).GetMethod(
Util\ActivityIdHelper.cs (3)
48
typeof(GetCurrentDelegate), typeof(
EventSource
), "get_CurrentThreadActivityId", ignoreCase: false, throwOnBindFailure: false);
51
typeof(SetAndDestroyDelegate), typeof(
EventSource
), "SetCurrentThreadActivityId", ignoreCase: false, throwOnBindFailure: false);
54
typeof(SetAndPreserveDelegate), typeof(
EventSource
), "SetCurrentThreadActivityId", ignoreCase: false, throwOnBindFailure: false);