Snap for 9406101 from 592ff18146 to udc-release

Change-Id: I802bdb64456c3a6f4c75d42b0e815d2d8f1bcbde
This commit is contained in:
Android Build Coastguard Worker 2022-12-15 02:02:49 +00:00
commit 6ff9f86738
3 changed files with 1 additions and 22 deletions

View file

@ -95,6 +95,7 @@
/dev/acd-audio_tap* 0660 system audio /dev/acd-audio_tap* 0660 system audio
/dev/acd-audio_dcdoff_ref 0660 system audio /dev/acd-audio_dcdoff_ref 0660 system audio
/dev/amcs 0660 system audio /dev/amcs 0660 system audio
/dev/acd-audio_rtp_* 0660 system audio
# Secure MEM driver # Secure MEM driver
/dev/s5p-smem 0660 drm drmrpc /dev/s5p-smem 0660 drm drmrpc

View file

@ -227,7 +227,6 @@ Dumpstate::Dumpstate()
{ "wlan", [this](int fd) { dumpWlanSection(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); } },
{ "power", [this](int fd) { dumpPowerSection(fd); } }, { "power", [this](int fd) { dumpPowerSection(fd); } },
{ "display", [this](int fd) { dumpDisplaySection(fd); } }, { "display", [this](int fd) { dumpDisplaySection(fd); } },
{ "misc", [this](int fd) { dumpMiscSection(fd); } }, { "misc", [this](int fd) { dumpMiscSection(fd); } },
@ -507,26 +506,6 @@ void Dumpstate::dumpPowerSection(int fd) {
} }
// Dump items related to CPUs
void Dumpstate::dumpCpuSection(int fd) {
DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present");
DumpFileToFd(fd, "CPU online", "/sys/devices/system/cpu/online");
RunCommandToFd(fd, "CPU time-in-state", {"/vendor/bin/sh", "-c",
"for cpu in /sys/devices/system/cpu/cpu*; do "
"f=$cpu/cpufreq/stats/time_in_state; "
"if [ ! -f $f ]; then continue; fi; "
"echo $f:; cat $f; "
"done"});
RunCommandToFd(fd, "CPU cpuidle", {"/vendor/bin/sh", "-c",
"for cpu in /sys/devices/system/cpu/cpu*; do "
"for d in $cpu/cpuidle/state*; do "
"if [ ! -d $d ]; then continue; fi; "
"echo \"$d: `cat $d/name` `cat $d/desc` `cat $d/time` `cat $d/usage`\"; "
"done; "
"done"});
DumpFileToFd(fd, "INTERRUPTS", "/proc/interrupts");
}
// Dump items related to Devfreq & BTS // Dump items related to Devfreq & BTS
void Dumpstate::dumpDevfreqSection(int fd) { void Dumpstate::dumpDevfreqSection(int fd) {
DumpFileToFd(fd, "MIF DVFS", DumpFileToFd(fd, "MIF DVFS",

View file

@ -54,7 +54,6 @@ class Dumpstate : public BnDumpstateDevice {
// addition to being included in full dumps // addition to being included in full dumps
void dumpWlanSection(int fd); void dumpWlanSection(int fd);
void dumpPowerSection(int fd); void dumpPowerSection(int fd);
void dumpCpuSection(int fd);
void dumpDevfreqSection(int fd); void dumpDevfreqSection(int fd);
void dumpMemorySection(int fd); void dumpMemorySection(int fd);
void dumpDisplaySection(int fd); void dumpDisplaySection(int fd);