Skip to content

Commit bab902e

Browse files
committed
Experimentally switch off FEATURE_EVENT_TRACE completely
1 parent d3a096d commit bab902e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/coreclr/clr.featuredefines.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<FeatureCoreCLR>true</FeatureCoreCLR>
4-
<FeaturePerfTracing>true</FeaturePerfTracing>
4+
<FeaturePerfTracing>false</FeaturePerfTracing>
55
<ProfilingSupportedBuild>true</ProfilingSupportedBuild>
66
</PropertyGroup>
77

src/coreclr/clrfeatures.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ if(CLR_CMAKE_TARGET_TIZEN_LINUX)
33
endif()
44

55
if(NOT DEFINED FEATURE_EVENT_TRACE)
6-
# To actually disable FEATURE_EVENT_TRACE, also change clr.featuredefines.props
7-
set(FEATURE_EVENT_TRACE 1)
6+
set(FEATURE_EVENT_TRACE 0)
87
endif(NOT DEFINED FEATURE_EVENT_TRACE)
98

109
if(NOT DEFINED FEATURE_PERFTRACING AND FEATURE_EVENT_TRACE)
10+
# To actually disable FEATURE_PERFTRACING, also change clr.featuredefines.props
1111
set(FEATURE_PERFTRACING 1)
1212
endif(NOT DEFINED FEATURE_PERFTRACING AND FEATURE_EVENT_TRACE)
1313

src/coreclr/nativeaot/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<DefineConstants Condition="'$(FeatureObjCMarshal)' == 'true'">FEATURE_OBJCMARSHAL;$(DefineConstants)</DefineConstants>
6767
</PropertyGroup>
6868
<PropertyGroup>
69-
<FeaturePerfTracing>true</FeaturePerfTracing>
69+
<FeaturePerfTracing>false</FeaturePerfTracing>
7070
</PropertyGroup>
7171
<PropertyGroup>
7272
<DefineConstants Condition="'$(FeaturePerfTracing)' == 'true'">FEATURE_PERFTRACING;$(DefineConstants)</DefineConstants>

src/mono/System.Private.CoreLib/System.Private.CoreLib.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
<FeatureSingleThread Condition="('$(TargetsBrowser)' == 'true' or '$(TargetsWasi)' == 'true') and '$(WasmEnableThreads)' != 'true'">true</FeatureSingleThread>
115115
<FeaturePortableTimer Condition="('$(TargetsBrowser)' != 'true' and '$(TargetsWasi)' != 'true') or '$(FeatureWasmManagedThreads)' == 'true'">true</FeaturePortableTimer>
116116
<FeaturePortableThreadPool Condition="('$(TargetsBrowser)' != 'true' and '$(TargetsWasi)' != 'true') or '$(FeatureWasmManagedThreads)' == 'true'">true</FeaturePortableThreadPool>
117-
<FeaturePerfTracing Condition="('$(TargetsBrowser)' != 'true' and '$(TargetsWasi)' != 'true')">true</FeaturePerfTracing>
117+
<FeaturePerfTracing Condition="('$(TargetsBrowser)' != 'true' and '$(TargetsWasi)' != 'true')">false</FeaturePerfTracing>
118118
<FeatureObjCMarshal Condition="'$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true'">true</FeatureObjCMarshal>
119119
</PropertyGroup>
120120

0 commit comments

Comments
 (0)