wifi: remove unnecessary debug dump am: c0825f2717

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20335453

Change-Id: If2b9df0809d68d2fe3901c9a9625e652ee1dc5a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Roger Wang 2022-11-03 06:42:42 +00:00 committed by Automerger Merge Worker
commit e1e7f6d79c
2 changed files with 0 additions and 8 deletions

View file

@ -252,7 +252,6 @@ void endSection(int fd, const std::string &sectionName, timepoint_t startTime) {
DumpstateDevice::DumpstateDevice() DumpstateDevice::DumpstateDevice()
: mTextSections{ : mTextSections{
{ "pre-touch", [this](int fd) { dumpPreTouchSection(fd); } }, { "pre-touch", [this](int fd) { dumpPreTouchSection(fd); } },
{ "wlan", [this](int fd) { dumpWlanSection(fd); } },
{ "soc", [this](int fd) { dumpSocSection(fd); } }, { "soc", [this](int fd) { dumpSocSection(fd); } },
{ "storage", [this](int fd) { dumpStorageSection(fd); } }, { "storage", [this](int fd) { dumpStorageSection(fd); } },
{ "memory", [this](int fd) { dumpMemorySection(fd); } }, { "memory", [this](int fd) { dumpMemorySection(fd); } },
@ -304,12 +303,6 @@ void DumpstateDevice::dumpTextSection(int fd, const std::string &sectionName) {
"not avalable from the command line.\n", fd); "not avalable from the command line.\n", fd);
} }
// Dump items related to wlan
void DumpstateDevice::dumpWlanSection(int fd) {
RunCommandToFd(fd, "WLAN Debug Dump", {"/vendor/bin/sh", "-c",
"cat /sys/wifi/dump_start"});
}
// Dump items related to power and battery // Dump items related to power and battery
void DumpstateDevice::dumpPowerSection(int fd) { void DumpstateDevice::dumpPowerSection(int fd) {
struct stat buffer; struct stat buffer;

View file

@ -61,7 +61,6 @@ struct DumpstateDevice : public IDumpstateDevice {
// Text sections that can be dumped individually on the command line in // Text sections that can be dumped individually on the command line in
// addition to being included in full dumps // addition to being included in full dumps
void dumpWlanSection(int fd);
void dumpPowerSection(int fd); void dumpPowerSection(int fd);
void dumpThermalSection(int fd); void dumpThermalSection(int fd);
void dumpPreTouchSection(int fd); void dumpPreTouchSection(int fd);