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:
parent
4307f59c9e
commit
281e1ffab8
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
RunCommandToFd(fd, "MKDIR GXP COREDUMP", {"/vendor/bin/mkdir", "-p", gxpCoredumpOutputDir}, CommandOptions::WithTimeout(2).Build());
|
||||||
|
|
||||||
// Copy GXP coredumps and crashinfo to the output directory.
|
// Copy GXP coredumps and crashinfo to the output directory.
|
||||||
dumpLogs(fd, gxpCoredumpInputDir + "/coredump", gxpCoredumpOutputDir, maxGxpDebugDumps, "coredump_gxp_platform");
|
dumpLogs(fd, gxpCoredumpInputDir + "/coredump", gxpCoredumpOutputDir, maxGxpDebugDumps, "coredump_gxp_");
|
||||||
dumpLogs(fd, gxpCoredumpInputDir, gxpCoredumpOutputDir, maxGxpDebugDumps, "crashinfo_gxp_platform");
|
dumpLogs(fd, gxpCoredumpInputDir, gxpCoredumpOutputDir, maxGxpDebugDumps, "crashinfo_gxp_");
|
||||||
}
|
}
|
||||||
|
|
||||||
dumpLogs(fd, extendedLogDir, modemLogAllDir, maxFileNum, EXTENDED_LOG_PREFIX);
|
dumpLogs(fd, extendedLogDir, modemLogAllDir, maxFileNum, EXTENDED_LOG_PREFIX);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue