From 30b5bb4251e5688d01f2af9496142bdb6aa86295 Mon Sep 17 00:00:00 2001 From: goaaats Date: Wed, 22 Jun 2022 17:04:15 +0200 Subject: [PATCH] chore: enableEtw => enable_etw --- lib/CoreCLR/boot.cpp | 4 ++-- lib/CoreCLR/boot.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/CoreCLR/boot.cpp b/lib/CoreCLR/boot.cpp index aa4fdfa62..c16ee3984 100644 --- a/lib/CoreCLR/boot.cpp +++ b/lib/CoreCLR/boot.cpp @@ -29,7 +29,7 @@ std::optional g_clr; int InitializeClrAndGetEntryPoint( void* calling_module, - bool enableEtw, + bool enable_etw, std::wstring runtimeconfig_path, std::wstring module_path, std::wstring entrypoint_assembly_name, @@ -50,7 +50,7 @@ int InitializeClrAndGetEntryPoint( SetEnvironmentVariable(L"DOTNET_TC_QuickJitForLoops", L"1"); SetEnvironmentVariable(L"DOTNET_ReadyToRun", L"1"); - SetEnvironmentVariable(L"COMPlus_ETWEnabled", enableEtw ? L"1" : L"0"); + SetEnvironmentVariable(L"COMPlus_ETWEnabled", enable_etw ? L"1" : L"0"); wchar_t* dotnet_path; wchar_t* _appdata; diff --git a/lib/CoreCLR/boot.h b/lib/CoreCLR/boot.h index 75193f6fc..f75077edd 100644 --- a/lib/CoreCLR/boot.h +++ b/lib/CoreCLR/boot.h @@ -3,7 +3,7 @@ void ConsoleTeardown(); int InitializeClrAndGetEntryPoint( void* calling_module, - bool enableEtw, + bool enable_etw, std::wstring runtimeconfig_path, std::wstring module_path, std::wstring entrypoint_assembly_name,