use devfreq dump from gs-common
Bug: 273380985 Test: adb bugreport Change-Id: I2d301fad03cbac0bc63ae6f522df31ab5c607118
This commit is contained in:
parent
6ef77dd8f0
commit
9df43666f0
3 changed files with 1 additions and 23 deletions
|
@ -242,7 +242,6 @@ void endSection(int fd, const std::string §ionName, timepoint_t startTime) {
|
|||
Dumpstate::Dumpstate()
|
||||
: mTextSections{
|
||||
{ "memory", [this](int fd) { dumpMemorySection(fd); } },
|
||||
{ "Devfreq", [this](int fd) { dumpDevfreqSection(fd); } },
|
||||
{ "power", [this](int fd) { dumpPowerSection(fd); } },
|
||||
{ "camera", [this](int fd) { dumpCameraSection(fd); } },
|
||||
} {
|
||||
|
@ -493,27 +492,6 @@ void Dumpstate::dumpPowerSection(int fd) {
|
|||
|
||||
}
|
||||
|
||||
// Dump items related to Devfreq & BTS
|
||||
void Dumpstate::dumpDevfreqSection(int fd) {
|
||||
DumpFileToFd(fd, "MIF DVFS",
|
||||
"/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/time_in_state");
|
||||
DumpFileToFd(fd, "INT DVFS",
|
||||
"/sys/devices/platform/17000020.devfreq_int/devfreq/17000020.devfreq_int/time_in_state");
|
||||
DumpFileToFd(fd, "INTCAM DVFS",
|
||||
"/sys/devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/time_in_state");
|
||||
DumpFileToFd(fd, "DISP DVFS",
|
||||
"/sys/devices/platform/17000040.devfreq_disp/devfreq/17000040.devfreq_disp/time_in_state");
|
||||
DumpFileToFd(fd, "CAM DVFS",
|
||||
"/sys/devices/platform/17000050.devfreq_cam/devfreq/17000050.devfreq_cam/time_in_state");
|
||||
DumpFileToFd(fd, "TNR DVFS",
|
||||
"/sys/devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/time_in_state");
|
||||
DumpFileToFd(fd, "MFC DVFS",
|
||||
"/sys/devices/platform/17000070.devfreq_mfc/devfreq/17000070.devfreq_mfc/time_in_state");
|
||||
DumpFileToFd(fd, "BO DVFS",
|
||||
"/sys/devices/platform/17000080.devfreq_bo/devfreq/17000080.devfreq_bo/time_in_state");
|
||||
DumpFileToFd(fd, "BTS stats", "/sys/devices/platform/exynos-bts/bts_stats");
|
||||
}
|
||||
|
||||
// Dump items related to memory
|
||||
void Dumpstate::dumpMemorySection(int fd) {
|
||||
RunCommandToFd(fd, "Pixel CMA stat", {"/vendor/bin/sh", "-c",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue