diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2017-01-13 23:25:19 +0300 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2017-01-13 23:25:19 +0300 |
commit | e5678962aab23ce6bac2ba53185781c4467904be (patch) | |
tree | cfc46a7bfbf59d834759026cb47601d94d6b82c5 /src/Native/Runtime/eventtrace.h | |
parent | 85dde75bf18711139278b6eeae7641ba1ea001a9 (diff) |
This is the internal component of CoreRT#2485 (https://github.com/dotnet/corert/pull/2485), which ports a number of GC changes done within the last month or two from CoreCLR to CoreRT. The only changes to anything in Native/gc are:
1. Move an assert under #ifndef FEATURE_REDHAWK since it only is a useful assert on CoreCLR (https://github.com/dotnet/corert/pull/2485#issuecomment-271975502)
2. Add UNREFERENCED_PARAMETERs to things in gc.cpp and elsewhere that were producing warnings
All other changes in Native/gc are directly from CoreCLR without modification. I have validated that I am able to do PerfView GC analysis with these changes (since the CoreCLR changes touched ETW eventing).
[tfs-changeset: 1644465]
Diffstat (limited to 'src/Native/Runtime/eventtrace.h')
-rw-r--r-- | src/Native/Runtime/eventtrace.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Native/Runtime/eventtrace.h b/src/Native/Runtime/eventtrace.h index 77ab912e9..ae88847ab 100644 --- a/src/Native/Runtime/eventtrace.h +++ b/src/Native/Runtime/eventtrace.h @@ -29,7 +29,18 @@ #define _VMEVENTTRACE_H_ #include "eventtracebase.h" +#include "gcinterface.h" +#if defined(GC_PROFILING) || defined(FEATURE_EVENT_TRACE) +struct ProfilingScanContext : ScanContext +{ + BOOL fProfilerPinned; + void * pvEtwContext; + void *pHeapId; + + ProfilingScanContext(BOOL fProfilerPinnedParam); +}; +#endif // defined(GC_PROFILING) || defined(FEATURE_EVENT_TRACE) namespace ETW { |