diff options
author | Brian Robbins <brianrob@microsoft.com> | 2017-03-24 09:38:28 -0700 |
---|---|---|
committer | Brian Robbins <brianrob@microsoft.com> | 2017-04-03 13:03:04 -0700 |
commit | a387696646a1aa7413c2082a430845844e496313 (patch) | |
tree | a237d60d0c16437f5aa600a798020820de4e6a34 /clrdefinitions.cmake | |
parent | 5e03cb09e3754e4a3430ba424a1352b9c01ff098 (diff) | |
download | coreclr-a387696646a1aa7413c2082a430845844e496313.tar.gz coreclr-a387696646a1aa7413c2082a430845844e496313.tar.bz2 coreclr-a387696646a1aa7413c2082a430845844e496313.zip |
Basic EventPipe functionality that supports writing sample profile events to JSON. SampleProfiler that globally suspends the runtime every 1ms to walk stacks and write them to the EventPipe.
Diffstat (limited to 'clrdefinitions.cmake')
-rw-r--r-- | clrdefinitions.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake index 9ca67decaf..c4bfb8ea39 100644 --- a/clrdefinitions.cmake +++ b/clrdefinitions.cmake @@ -122,6 +122,7 @@ endif(CLR_CMAKE_PLATFORM_UNIX AND (NOT CLR_CMAKE_PLATFORM_ANDROID)) if(FEATURE_EVENT_TRACE) add_definitions(-DFEATURE_EVENT_TRACE=1) endif(FEATURE_EVENT_TRACE) +add_definitions(-DFEATURE_PERFTRACING) if(CLR_CMAKE_PLATFORM_UNIX) add_definitions(-DFEATURE_EVENTSOURCE_XPLAT=1) endif(CLR_CMAKE_PLATFORM_UNIX) |