summaryrefslogtreecommitdiff
path: root/src/gc/gcee.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-01-31 14:23:12 -0800
committerJan Kotas <jkotas@microsoft.com>2016-01-31 14:23:12 -0800
commita7002caf91ce104ef2d5f12fc27544d7a9039abc (patch)
treed7a3d6d4a56ebd32ecb5554b41d0de4b65ffe146 /src/gc/gcee.cpp
parent1765a84c03a37c9bdb7541cb7db49adad5dae6db (diff)
parent4c375f4ddfb1d35fd57d6f208e9de30350b4dbdd (diff)
downloadcoreclr-a7002caf91ce104ef2d5f12fc27544d7a9039abc.tar.gz
coreclr-a7002caf91ce104ef2d5f12fc27544d7a9039abc.tar.bz2
coreclr-a7002caf91ce104ef2d5f12fc27544d7a9039abc.zip
Merge pull request #2520 from sperling/profiler
Enabling profiling on Unix/OS X
Diffstat (limited to 'src/gc/gcee.cpp')
-rwxr-xr-xsrc/gc/gcee.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gc/gcee.cpp b/src/gc/gcee.cpp
index 368ac99863..54e7a056b2 100755
--- a/src/gc/gcee.cpp
+++ b/src/gc/gcee.cpp
@@ -533,12 +533,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) || defined(FEATURE_EVENT_TRACE)