There was an error while loading. Please reload this page.
1 parent d17bcd0 commit f68a10dCopy full SHA for f68a10d
1 file changed
ddprof-lib/src/main/cpp/sanityCheck.cpp
@@ -106,9 +106,9 @@ Error SanityChecker::runChecks(const Arguments& /*args*/) {
106
107
// --- Run checks ---
108
// Per DataDog/java-profiler#480, the profiler refuses to run with fewer
109
- // than 2 cores. An unknown core count (-1) never fails this check — see
+ // than 1 core. An unknown core count (-1) never fails this check — see
110
// the effective_cores computation above.
111
- bool cpu_fail = (effective_cores >= 0 && effective_cores < 2);
+ bool cpu_fail = (effective_cores >= 0 && effective_cores < 1);
112
bool mem_fail = (hotspot && upper > 0 && lower > upper);
113
114
if (!cpu_fail && !mem_fail) {
0 commit comments