Add vendor proc dump am: c17864f72e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15116870 Change-Id: Ibafd4310eadefd3bd92c148bdabecdaf4deb3c62
This commit is contained in:
commit
d6aac4f8bb
1 changed files with 1 additions and 12 deletions
|
@ -913,18 +913,7 @@ void DumpstateDevice::dumpRamdumpSection(int fd) {
|
||||||
// Dump items that don't fit well into any other section
|
// Dump items that don't fit well into any other section
|
||||||
void DumpstateDevice::dumpMiscSection(int fd) {
|
void DumpstateDevice::dumpMiscSection(int fd) {
|
||||||
RunCommandToFd(fd, "VENDOR PROPERTIES", {"/vendor/bin/getprop"});
|
RunCommandToFd(fd, "VENDOR PROPERTIES", {"/vendor/bin/getprop"});
|
||||||
RunCommandToFd(fd, "Vendor task struct value", {"/vendor/bin/sh", "-c",
|
DumpFileToFd(fd, "VENDOR PROC DUMP", "/proc/vendor_sched/dump_task");
|
||||||
"for i in ta fg sys sysbg bg cam nnapi; do "
|
|
||||||
"echo $i:; "
|
|
||||||
"for j in prefer_high_cap prefer_idle task_spreading uclamp_max uclamp_min; do "
|
|
||||||
"echo $j: | tr '[\n]' ' '; "
|
|
||||||
"cat /sys/kernel/vendor_sched/$i'_'$j; "
|
|
||||||
"done; "
|
|
||||||
"echo tasks:; "
|
|
||||||
"cat /proc/vendor_sched/dump_task_group_$i | tr '[\n]' ' '; "
|
|
||||||
"echo ''; "
|
|
||||||
"echo ''; "
|
|
||||||
"done"});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dump items related to GSC
|
// Dump items related to GSC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue