Skip to content

Commit e28fbed

Browse files
committed
fix(pyroscope): disable contention profiling by default
1 parent 56f5caa commit e28fbed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profiler/src/ProfilerEngine/Datadog.Profiler.Native/Configuration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ int32_t Configuration::ExtractCpuThreadsThreshold()
524524
bool Configuration::GetContention()
525525
{
526526
// enabled by default
527-
bool lockContentionEnabled = true;
527+
bool lockContentionEnabled = false;
528528

529529
// first look at the supported env var
530530
if (IsEnvironmentValueSet(EnvironmentVariables::LockContentionProfilingEnabled, lockContentionEnabled))

0 commit comments

Comments
 (0)