mirror of
https://github.com/Evolution-X-Devices/device_google_zuma
synced 2026-02-01 07:40:34 +00:00
Modify GXP coredump naming signature
Currently its "coredump_gxp_platform*" & "crashinfo_gxp_platform*" Update it to "coredump_gxp_*" & "crashinfo_gxp_*" to incorporate both Amalthea and Callisto dumps. Its a modification over CL ag/16787185. Test: adb root; adb remount -R; adb bugreport Bug: 236046046 Signed-off-by: nischaljain <nischaljain@google.com> Change-Id: I1173cca0a8200039f76f2f1dc94e51ecccf3a97e
This commit is contained in:
@@ -1150,8 +1150,8 @@ void DumpstateDevice::dumpModem(int fd, int fdModem)
|
||||
RunCommandToFd(fd, "MKDIR GXP COREDUMP", {"/vendor/bin/mkdir", "-p", gxpCoredumpOutputDir}, CommandOptions::WithTimeout(2).Build());
|
||||
|
||||
// Copy GXP coredumps and crashinfo to the output directory.
|
||||
dumpLogs(fd, gxpCoredumpInputDir + "/coredump", gxpCoredumpOutputDir, maxGxpDebugDumps, "coredump_gxp_platform");
|
||||
dumpLogs(fd, gxpCoredumpInputDir, gxpCoredumpOutputDir, maxGxpDebugDumps, "crashinfo_gxp_platform");
|
||||
dumpLogs(fd, gxpCoredumpInputDir + "/coredump", gxpCoredumpOutputDir, maxGxpDebugDumps, "coredump_gxp_");
|
||||
dumpLogs(fd, gxpCoredumpInputDir, gxpCoredumpOutputDir, maxGxpDebugDumps, "crashinfo_gxp_");
|
||||
}
|
||||
|
||||
dumpLogs(fd, extendedLogDir, modemLogAllDir, maxFileNum, EXTENDED_LOG_PREFIX);
|
||||
|
||||
Reference in New Issue
Block a user