Merge "Log when trying to profile non profilable app."
This commit is contained in:
commit
c3c4929659
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ static void MaybeInstallInitHeapprofdHook(int) {
|
|||
// Zygote child processes must be marked profileable.
|
||||
if (gZygoteChild &&
|
||||
!atomic_load_explicit(&gZygoteChildProfileable, memory_order_acquire)) {
|
||||
error_log("%s: not enabling heapprofd, not marked profileable.", getprogname());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue