From a8fd883d12826108124ac5ace8929e40c7523b8f Mon Sep 17 00:00:00 2001 From: Gleb Balykov Date: Thu, 15 Feb 2024 10:43:30 +0300 Subject: [PATCH] Remove ZapDisable=1 for Coreprofiler Explicit disabling of ni.dll is not needed, because - in case of enter/leave hooks usage (non-alternative sampling mode) ni.dll will be disabled automatically - in case of DoStackSnapshot (alternative sampling mode) ni.dll can be freely used and this will improve performance --- NativeLauncher/dotnet.debugger | 2 -- 1 file changed, 2 deletions(-) diff --git a/NativeLauncher/dotnet.debugger b/NativeLauncher/dotnet.debugger index 12ccfc9..1f8f89a 100644 --- a/NativeLauncher/dotnet.debugger +++ b/NativeLauncher/dotnet.debugger @@ -67,7 +67,6 @@ DEFAULT_OPT PROF_TRACE_FILENAME=/home/owner/share/tmp/sdk_tools/coreprofiler/tra DEFAULT_OPT PROF_CONFIG_FILENAME=/home/owner/share/tmp/sdk_tools/coreprofiler/profiler.config DEFAULT_OPT CORECLR_ENABLE_PROFILING=1 DEFAULT_OPT COMPlus_EnableEventLog=1 -DEFAULT_OPT COMPlus_ZapDisable=1 DEFAULT_OPT -c DEFAULT_OPT 6001 DEFAULT_OPT -d @@ -94,7 +93,6 @@ DEFAULT_OPT PROF_TRACE_FILENAME=/home/owner/share/tmp/sdk_tools/coreprofiler/tra DEFAULT_OPT PROF_CONFIG_FILENAME=/home/owner/share/tmp/sdk_tools/coreprofiler/profiler.config DEFAULT_OPT CORECLR_ENABLE_PROFILING=1 DEFAULT_OPT COMPlus_EnableEventLog=1 -DEFAULT_OPT COMPlus_ZapDisable=1 DEFAULT_OPT -c DEFAULT_OPT 6001 DEFAULT_OPT -d -- 2.7.4