Move camera text dump to dump_gs101
Bug: 273380985 Test: adb bugreport Change-Id: Ie82c87ba87d175cb861d36f7e4a94c0e730da0d2
This commit is contained in:
parent
4cec3fd2e2
commit
a9207eff25
3 changed files with 7 additions and 10 deletions
|
@ -242,7 +242,6 @@ void endSection(int fd, const std::string §ionName, timepoint_t startTime) {
|
|||
Dumpstate::Dumpstate()
|
||||
: mTextSections{
|
||||
{ "power", [this](int fd) { dumpPowerSection(fd); } },
|
||||
{ "camera", [this](int fd) { dumpCameraSection(fd); } },
|
||||
} {
|
||||
}
|
||||
|
||||
|
@ -491,14 +490,6 @@ void Dumpstate::dumpPowerSection(int fd) {
|
|||
|
||||
}
|
||||
|
||||
// Dump essential camera debugging logs
|
||||
void Dumpstate::dumpCameraSection(int fd) {
|
||||
RunCommandToFd(fd, "Camera HAL Graph State Dump", {"/vendor/bin/sh", "-c",
|
||||
"for f in $(ls -t /data/vendor/camera/hal_graph_state*.txt |head -1); do "
|
||||
"echo $f ; cat $f ; done"},
|
||||
CommandOptions::WithTimeout(4).Build());
|
||||
}
|
||||
|
||||
static void *dumpModemThread(void *data) {
|
||||
ATRACE_ASYNC_BEGIN("dumpModemThread", 0);
|
||||
std::string modemLogDir = MODEM_LOG_DIRECTORY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue