summaryrefslogtreecommitdiff
path: root/src/inc/eventtrace.h
diff options
context:
space:
mode:
authorAndreas Strid <andreas_strid@bredband.net>2015-12-21 15:33:18 +0100
committerAndreas Strid <andreas_strid@bredband.net>2016-01-31 17:33:53 +0100
commit4c375f4ddfb1d35fd57d6f208e9de30350b4dbdd (patch)
tree2a4aaff0604b37f4bef68fbef46fe4afd7cbbb79 /src/inc/eventtrace.h
parent85f256e9b41cac20834d9695675e3ac8694454f9 (diff)
downloadcoreclr-4c375f4ddfb1d35fd57d6f208e9de30350b4dbdd.tar.gz
coreclr-4c375f4ddfb1d35fd57d6f208e9de30350b4dbdd.tar.bz2
coreclr-4c375f4ddfb1d35fd57d6f208e9de30350b4dbdd.zip
Enabling profiling on Unix/OS X.
Diffstat (limited to 'src/inc/eventtrace.h')
-rw-r--r--src/inc/eventtrace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/inc/eventtrace.h b/src/inc/eventtrace.h
index a2daacec60..a4c112e0f3 100644
--- a/src/inc/eventtrace.h
+++ b/src/inc/eventtrace.h
@@ -329,9 +329,16 @@ namespace ETW
static BOOL ShouldWalkStaticsAndCOMForEtw();
static VOID WalkStaticsAndCOMForETW();
static VOID EndHeapDump(ProfilerWalkHeapContext * profilerWalkHeapContext);
+#ifdef FEATURE_EVENT_TRACE
static VOID BeginMovedReferences(size_t * pProfilingContext);
static VOID MovedReference(BYTE * pbMemBlockStart, BYTE * pbMemBlockEnd, ptrdiff_t cbRelocDistance, size_t profilingContext, BOOL fCompacting, BOOL fAllowProfApiNotification = TRUE);
static VOID EndMovedReferences(size_t profilingContext, BOOL fAllowProfApiNotification = TRUE);
+#else
+ // TODO: Need to be implemented for PROFILING_SUPPORTED.
+ static VOID BeginMovedReferences(size_t * pProfilingContext) {};
+ static VOID MovedReference(BYTE * pbMemBlockStart, BYTE * pbMemBlockEnd, ptrdiff_t cbRelocDistance, size_t profilingContext, BOOL fCompacting, BOOL fAllowProfApiNotification = TRUE) {};
+ static VOID EndMovedReferences(size_t profilingContext, BOOL fAllowProfApiNotification = TRUE) {};
+#endif // FEATURE_EVENT_TRACE
static VOID SendFinalizeObjectEvent(MethodTable * pMT, Object * pObj);
};
};