Merge "[Bugfix][Coredump] Fix coredump_enable() in envsetup.sh" am: f6aae1608d
Original change: https://android-review.googlesource.com/c/platform/build/+/2107828 Change-Id: Ic93e452300e3b919dcdcd92c165838bedb5d4e52 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1107,7 +1107,7 @@ function coredump_enable()
|
||||
return;
|
||||
fi;
|
||||
echo "Setting core limit for $PID to infinite...";
|
||||
adb shell /system/bin/ulimit -p $PID -c unlimited
|
||||
adb shell /system/bin/ulimit -P $PID -c unlimited
|
||||
}
|
||||
|
||||
# core - send SIGV and pull the core for process
|
||||
|
Reference in New Issue
Block a user