@@ -18,6 +18,7 @@ public class EtwProfilerConfig
18
18
public float CpuSampleIntervalInMilliseconds { get ; }
19
19
20
20
public KernelTraceEventParser . Keywords KernelKeywords { get ; }
21
+ public KernelTraceEventParser . Keywords KernelStackKeywords { get ; }
21
22
22
23
public IReadOnlyDictionary < HardwareCounter , Func < ProfileSourceInfo , int > > IntervalSelectors { get ; }
23
24
@@ -37,12 +38,14 @@ public EtwProfilerConfig(
37
38
int bufferSizeInMb = 256 ,
38
39
float cpuSampleIntervalInMilliseconds = 1.0f ,
39
40
KernelTraceEventParser . Keywords kernelKeywords = KernelTraceEventParser . Keywords . ImageLoad | KernelTraceEventParser . Keywords . Profile ,
41
+ KernelTraceEventParser . Keywords kernelStackKeywords = KernelTraceEventParser . Keywords . Profile ,
40
42
IReadOnlyDictionary < HardwareCounter , Func < ProfileSourceInfo , int > > intervalSelectors = null ,
41
43
IReadOnlyCollection < ( Guid providerGuid , TraceEventLevel providerLevel , ulong keywords , TraceEventProviderOptions options ) > providers = null ,
42
44
bool createHeapSession = false )
43
45
{
44
46
CreateHeapSession = createHeapSession ;
45
47
KernelKeywords = kernelKeywords ;
48
+ KernelStackKeywords = kernelStackKeywords ;
46
49
PerformExtraBenchmarksRun = performExtraBenchmarksRun ;
47
50
BufferSizeInMb = bufferSizeInMb ;
48
51
CpuSampleIntervalInMilliseconds = cpuSampleIntervalInMilliseconds ;
0 commit comments