summaryrefslogtreecommitdiff
path: root/src/gc/gcee.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gc/gcee.cpp')
-rw-r--r--src/gc/gcee.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gc/gcee.cpp b/src/gc/gcee.cpp
index 8e4e4480b4..a496979aeb 100644
--- a/src/gc/gcee.cpp
+++ b/src/gc/gcee.cpp
@@ -502,12 +502,14 @@ void GCProfileWalkHeapWorker(BOOL fProfilerPinned, BOOL fShouldWalkHeapRootsForE
#endif //MULTIPLE_HEAPS
}
+#ifdef FEATURE_EVENT_TRACE
// **** Done! Indicate to ETW helpers that the heap walk is done, so any buffers
// should be flushed into the ETW stream
if (fShouldWalkHeapObjectsForEtw || fShouldWalkHeapRootsForEtw)
{
ETW::GCLog::EndHeapDump(&profilerWalkHeapContext);
}
+#endif // FEATURE_EVENT_TRACE
}
}
#endif // defined(GC_PROFILING)