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 Signed-off-by: Roger Wang <wangroger@google.com>
This commit is contained in:
parent
ff981db4a5
commit
6665f0dcc7
2 changed files with 0 additions and 8 deletions
|
@ -248,7 +248,6 @@ void endSection(int fd, const std::string §ionName, timepoint_t startTime) {
|
||||||
Dumpstate::Dumpstate()
|
Dumpstate::Dumpstate()
|
||||||
: mTextSections{
|
: mTextSections{
|
||||||
{ "pre-touch", [this](int fd) { dumpPreTouchSection(fd); } },
|
{ "pre-touch", [this](int fd) { dumpPreTouchSection(fd); } },
|
||||||
{ "wlan", [this](int fd) { dumpWlanSection(fd); } },
|
|
||||||
{ "memory", [this](int fd) { dumpMemorySection(fd); } },
|
{ "memory", [this](int fd) { dumpMemorySection(fd); } },
|
||||||
{ "Devfreq", [this](int fd) { dumpDevfreqSection(fd); } },
|
{ "Devfreq", [this](int fd) { dumpDevfreqSection(fd); } },
|
||||||
{ "cpu", [this](int fd) { dumpCpuSection(fd); } },
|
{ "cpu", [this](int fd) { dumpCpuSection(fd); } },
|
||||||
|
@ -320,12 +319,6 @@ void Dumpstate::dumpTextSection(int fd, const std::string §ionName) {
|
||||||
"not avalable from the command line.\n", fd);
|
"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 items related to power and battery
|
// Dump items related to power and battery
|
||||||
void Dumpstate::dumpPowerSection(int fd) {
|
void Dumpstate::dumpPowerSection(int fd) {
|
||||||
struct stat buffer;
|
struct stat buffer;
|
||||||
|
|
|
@ -47,7 +47,6 @@ class Dumpstate : public BnDumpstateDevice {
|
||||||
|
|
||||||
// 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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue