Snap for 9168953 from f5834b423e
to udc-release
Change-Id: Icd6f94555bbc958e6fd7fc385c632e6a699fa261
This commit is contained in:
commit
fb7ade5ff5
5 changed files with 1 additions and 34 deletions
|
@ -19,6 +19,7 @@ include device/google/gs-common/gs_watchdogd/watchdog.mk
|
|||
include device/google/gs-common/ramdump/ramdump.mk
|
||||
include device/google/gs-common/soc/soc.mk
|
||||
include device/google/gs-common/modem/modem.mk
|
||||
include device/google/gs-common/aoc/aoc.mk
|
||||
|
||||
TARGET_BOARD_PLATFORM := gs101
|
||||
DEVICE_IS_64BIT_ONLY ?= $(if $(filter %_64,$(TARGET_PRODUCT)),true,false)
|
||||
|
@ -745,10 +746,6 @@ endif
|
|||
|
||||
$(call soong_config_set,bigo,soc,gs101)
|
||||
|
||||
# MFC firmware
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/gs101/firmware/mfc/mfc_fw.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/mfc_fw.bin
|
||||
|
||||
# 1. Codec 2.0
|
||||
# exynos service
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/samsung_slsi/codec2
|
||||
|
|
|
@ -259,7 +259,6 @@ DumpstateDevice::DumpstateDevice()
|
|||
{ "touch", [this](int fd) { dumpTouchSection(fd); } },
|
||||
{ "display", [this](int fd) { dumpDisplaySection(fd); } },
|
||||
{ "sensors-usf", [this](int fd) { dumpSensorsUSFSection(fd); } },
|
||||
{ "aoc", [this](int fd) { dumpAoCSection(fd); } },
|
||||
{ "misc", [this](int fd) { dumpMiscSection(fd); } },
|
||||
{ "camera", [this](int fd) { dumpCameraSection(fd); } },
|
||||
} {
|
||||
|
@ -909,34 +908,6 @@ void DumpstateDevice::dumpDisplaySection(int fd) {
|
|||
}
|
||||
}
|
||||
|
||||
// Dump items related to AoC
|
||||
void DumpstateDevice::dumpAoCSection(int fd) {
|
||||
DumpFileToFd(fd, "AoC Service Status", "/sys/devices/platform/19000000.aoc/services");
|
||||
DumpFileToFd(fd, "AoC Restarts", "/sys/devices/platform/19000000.aoc/restart_count");
|
||||
DumpFileToFd(fd, "AoC Coredumps", "/sys/devices/platform/19000000.aoc/coredump_count");
|
||||
DumpFileToFd(fd, "AoC ring buf wake", "/sys/devices/platform/19000000.aoc/control/ring_buffer_wakeup");
|
||||
DumpFileToFd(fd, "AoC host ipc wake", "/sys/devices/platform/19000000.aoc/control/host_ipc_wakeup");
|
||||
DumpFileToFd(fd, "AoC usf wake", "/sys/devices/platform/19000000.aoc/control/usf_wakeup");
|
||||
DumpFileToFd(fd, "AoC audio wake", "/sys/devices/platform/19000000.aoc/control/audio_wakeup");
|
||||
DumpFileToFd(fd, "AoC logging wake", "/sys/devices/platform/19000000.aoc/control/logging_wakeup");
|
||||
DumpFileToFd(fd, "AoC hotword wake", "/sys/devices/platform/19000000.aoc/control/hotword_wakeup");
|
||||
DumpFileToFd(fd, "AoC memory exception wake", "/sys/devices/platform/19000000.aoc/control/memory_exception");
|
||||
DumpFileToFd(fd, "AoC memory votes", "/sys/devices/platform/19000000.aoc/control/memory_votes_a32");
|
||||
DumpFileToFd(fd, "AoC memory votes", "/sys/devices/platform/19000000.aoc/control/memory_votes_ff1");
|
||||
RunCommandToFd(fd, "AoC Heap Stats (A32)",
|
||||
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 1' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||
CommandOptions::WithTimeout(1).Build());
|
||||
RunCommandToFd(fd, "AoC Heap Stats (F1)",
|
||||
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 2' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||
CommandOptions::WithTimeout(1).Build());
|
||||
RunCommandToFd(fd, "AoC Heap Stats (HF0)",
|
||||
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 3' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||
CommandOptions::WithTimeout(1).Build());
|
||||
RunCommandToFd(fd, "AoC Heap Stats (HF1)",
|
||||
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 4' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||
CommandOptions::WithTimeout(1).Build());
|
||||
}
|
||||
|
||||
// Dump items related to sensors usf.
|
||||
void DumpstateDevice::dumpSensorsUSFSection(int fd) {
|
||||
CommandOptions options = CommandOptions::WithTimeout(2).Build();
|
||||
|
|
|
@ -71,7 +71,6 @@ struct DumpstateDevice : public IDumpstateDevice {
|
|||
void dumpMemorySection(int fd);
|
||||
void dumpDisplaySection(int fd);
|
||||
void dumpSensorsUSFSection(int fd);
|
||||
void dumpAoCSection(int fd);
|
||||
void dumpMiscSection(int fd);
|
||||
void dumpCameraSection(int fd);
|
||||
};
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue