wifi: remove unnecessary debug dump
Since design was adjusted, we are no longer need to cat dump_start when bugreport be triggered. Bug: 256746618 Test: Trigger bugreport and check debug files. Change-Id: I907e707be99a35bfd76dfdb5f9bd693cb4b471d8 Merged-In: I907e707be99a35bfd76dfdb5f9bd693cb4b471d8 Signed-off-by: Roger Wang <wangroger@google.com>
This commit is contained in:
parent
34e66966c7
commit
c0825f2717
2 changed files with 0 additions and 8 deletions
|
@ -252,7 +252,6 @@ void endSection(int fd, const std::string §ionName, timepoint_t startTime) {
|
|||
DumpstateDevice::DumpstateDevice()
|
||||
: mTextSections{
|
||||
{ "pre-touch", [this](int fd) { dumpPreTouchSection(fd); } },
|
||||
{ "wlan", [this](int fd) { dumpWlanSection(fd); } },
|
||||
{ "soc", [this](int fd) { dumpSocSection(fd); } },
|
||||
{ "storage", [this](int fd) { dumpStorageSection(fd); } },
|
||||
{ "memory", [this](int fd) { dumpMemorySection(fd); } },
|
||||
|
@ -304,12 +303,6 @@ void DumpstateDevice::dumpTextSection(int fd, const std::string §ionName) {
|
|||
"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
|
||||
void DumpstateDevice::dumpPowerSection(int fd) {
|
||||
struct stat buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue