Bug 951431 - Don't get stacks during profiler runs on Linux; r=BenWa
This commit is contained in:
@@ -89,6 +89,10 @@ ThreadStackHelper::GetStack(Stack& aStack)
|
||||
}
|
||||
|
||||
#if defined(XP_LINUX)
|
||||
if (profiler_is_active()) {
|
||||
// Profiler can interfere with our Linux signal handling
|
||||
return;
|
||||
}
|
||||
if (!sInitialized) {
|
||||
MOZ_ASSERT(false);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user