summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/CMakeLists.txt1
-rw-r--r--src/inc/eventtrace.h7
-rw-r--r--src/inc/eventtracebase.h4
3 files changed, 10 insertions, 2 deletions
diff --git a/src/inc/CMakeLists.txt b/src/inc/CMakeLists.txt
index 7d53f7ea5e..cadf4fe7e6 100644
--- a/src/inc/CMakeLists.txt
+++ b/src/inc/CMakeLists.txt
@@ -79,3 +79,4 @@ install (FILES cor.h
gcinfoencoder.h
gcinfotypes.h
DESTINATION inc)
+install (TARGETS corguids DESTINATION lib) \ No newline at end of file
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);
};
};
diff --git a/src/inc/eventtracebase.h b/src/inc/eventtracebase.h
index bcc865d5a5..968e3811d6 100644
--- a/src/inc/eventtracebase.h
+++ b/src/inc/eventtracebase.h
@@ -133,7 +133,6 @@ enum EtwThreadFlags
#endif // FEATURE_EVENT_TRACE
#endif // FEATURE_REDHAWK
-#ifdef FEATURE_EVENT_TRACE
// During a heap walk, this is the storage for keeping track of all the nodes and edges
// being batched up by ETW, and for remembering whether we're also supposed to call into
@@ -152,6 +151,8 @@ public:
LPVOID pvEtwContext;
};
+#ifdef FEATURE_EVENT_TRACE
+
class Object;
#if !defined(FEATURE_PAL)
/******************************/
@@ -1068,7 +1069,6 @@ McGenEventProviderEnabled(
struct ProfilingScanContext;
-struct ProfilerWalkHeapContext;
class Object;
namespace ETW