Merge "Use ulimit -p rather than prlimit."
am: 74d4d98be1
* commit '74d4d98be1156982a1ab9a26be1dac26ee4e51d1':
Use ulimit -p rather than prlimit.
This commit is contained in:
commit
e9f81ac2cd
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,7 @@ function coredump_enable()
|
|||
return;
|
||||
fi;
|
||||
echo "Setting core limit for $PID to infinite...";
|
||||
adb shell prlimit $PID 4 -1 -1
|
||||
adb shell /system/bin/ulimit -p $PID -c unlimited
|
||||
}
|
||||
|
||||
# core - send SIGV and pull the core for process
|
||||
|
|
Loading…
Reference in a new issue