File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -224,17 +224,29 @@ public static TraceLogEventSource CreateFromEventPipeSession(EventPipeSession se
224
224
return traceLog . realTimeSource ;
225
225
}
226
226
227
+ /// <summary>
228
+ /// EventPipe real-time tracelog session configuration, used to populate the method and module information.
229
+ /// </summary>
227
230
public class EventPipeRundownConfiguration
228
231
{
229
232
internal readonly DiagnosticsClient m_client ;
230
233
231
234
private EventPipeRundownConfiguration ( DiagnosticsClient client ) { m_client = client ; }
232
235
236
+ /// <summary>
237
+ /// No rundown will be requested, thus it may be impossible to symbolicate events. This is OK, if you don't
238
+ /// require method/module info the captured events.
239
+ /// </summary>
233
240
public static EventPipeRundownConfiguration None ( )
234
241
{
235
242
return new EventPipeRundownConfiguration ( null ) ;
236
243
}
237
244
245
+ /// <summary>
246
+ /// If the rundown is enabled and a DiagnosticsClient is given, TraceLog.CreateFromEventPipeSession will
247
+ /// create an additional short-lived diagnostics session to load all module/method information up to that
248
+ /// point.
249
+ /// </summary>
238
250
public static EventPipeRundownConfiguration Enable ( DiagnosticsClient client )
239
251
{
240
252
return new EventPipeRundownConfiguration ( client ) ;
@@ -318,12 +330,6 @@ private unsafe void OnAllEventPipeEventsRealTime(TraceEvent data)
318
330
rawEventSourceToConvert . currentID = ( EventIndex ) eventCount ;
319
331
}
320
332
321
- // Skip samples from the idle thread.
322
- if ( data . ProcessID == 0 && data is SampledProfileTraceData )
323
- {
324
- return ;
325
- }
326
-
327
333
var extendedDataCount = data . eventRecord ->ExtendedDataCount ;
328
334
if ( extendedDataCount != 0 )
329
335
{
You can’t perform that action at this time.
0 commit comments