Merge "create an empty dump for wlan"
This commit is contained in:
commit
eeb47d0d4e
6 changed files with 13 additions and 11 deletions
|
@ -221,7 +221,6 @@ void endSection(int fd, const std::string §ionName, timepoint_t startTime) {
|
|||
|
||||
Dumpstate::Dumpstate()
|
||||
: mTextSections{
|
||||
{ "wlan", [this](int fd) { dumpWlanSection(fd); } },
|
||||
{ "memory", [this](int fd) { dumpMemorySection(fd); } },
|
||||
{ "Devfreq", [this](int fd) { dumpDevfreqSection(fd); } },
|
||||
{ "power", [this](int fd) { dumpPowerSection(fd); } },
|
||||
|
@ -296,15 +295,6 @@ void Dumpstate::dumpTextSection(int fd, const std::string §ionName) {
|
|||
"not avalable from the command line.\n", fd);
|
||||
}
|
||||
|
||||
// Dump items related to wlan
|
||||
void Dumpstate::dumpWlanSection(int fd) {
|
||||
RunCommandToFd(fd, "WLAN Debug Dump", {"/vendor/bin/sh", "-c",
|
||||
"cat /sys/wifi/dump_start"});
|
||||
|
||||
// Dump firmware symbol table for firmware log decryption
|
||||
DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc");
|
||||
}
|
||||
|
||||
// Dump items related to power and battery
|
||||
void Dumpstate::dumpPowerSection(int fd) {
|
||||
struct stat buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue