• Home
  • Raw
  • Download

Lines Matching refs:fd

48 void DumpstateDevice::dumpModem(int fd, int fdModem)  in dumpModem()  argument
72 …RunCommandToFd(fd, "MKDIR MODEM LOG", { "/vendor/bin/sh", "-c", modemLogMkDirCmd.c_str()}, options… in dumpModem()
73 … RunCommandToFd(fd, "SMLOG DUMP", { "smlog_dump", "-d", "-o", modemLogAllDir.c_str() }, options); in dumpModem()
77 … RunCommandToFd(fd, "MV MODEM LOG", { "/vendor/bin/sh", "-c", copyCmd.c_str()}, options); in dumpModem()
83 … RunCommandToFd(fd, "TAR LOG", { "/vendor/bin/sh", "-c", modemLogTarCmd.c_str()}, options); in dumpModem()
85 … RunCommandToFd(fd, "CHG PERM", { "/vendor/bin/sh", "-c", modemLogPermCmd.c_str()}, options); in dumpModem()
111 … RunCommandToFd(fd, "RM MODEM DIR", { "/vendor/bin/sh", "-c", modemLogClearCmd.c_str()}, options); in dumpModem()
112 … RunCommandToFd(fd, "RM LOG", { "/vendor/bin/rm", modemLogCombined.c_str()}, options); in dumpModem()
130 int fd = handle->data[0]; in dumpstateBoard() local
131 if (fd < 0) { in dumpstateBoard()
141 dumpModem(fd, fdModem); in dumpstateBoard()
144 RunCommandToFd(fd, "VENDOR PROPERTIES", {"/vendor/bin/getprop"}); in dumpstateBoard()
145 DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present"); in dumpstateBoard()
146 DumpFileToFd(fd, "CPU online", "/sys/devices/system/cpu/online"); in dumpstateBoard()
147 DumpFileToFd(fd, "INTERRUPTS", "/proc/interrupts"); in dumpstateBoard()
149 DumpFileToFd(fd, "UFS model", "/sys/block/sda/device/model"); in dumpstateBoard()
150 DumpFileToFd(fd, "UFS rev", "/sys/block/sda/device/rev"); in dumpstateBoard()
151 DumpFileToFd(fd, "UFS size", "/sys/block/sda/size"); in dumpstateBoard()
152 DumpFileToFd(fd, "UFS health", "/sys/devices/soc/624000.ufshc/health"); in dumpstateBoard()
153 …RunCommandToFd(fd, "UFS dump", {"/vendor/bin/sh", "-c", "for f in $(find /sys/kernel/debug/ufshcd0… in dumpstateBoard()
155 DumpFileToFd(fd, "RPM Stats", "/d/rpm_stats"); in dumpstateBoard()
156 DumpFileToFd(fd, "Power Management Stats", "/d/rpm_master_stats"); in dumpstateBoard()
157 DumpFileToFd(fd, "WLAN Power Stats", "/d/wlan_wcnss/power_stats"); in dumpstateBoard()
158 DumpFileToFd(fd, "Runtime-PM Stats", "/d/cnss_runtime_pm"); in dumpstateBoard()
159 DumpFileToFd(fd, "CNSS Pre-Alloc", "/d/cnss-prealloc/status"); in dumpstateBoard()
161 DumpFileToFd(fd, "SMD Log", "/d/ipc_logging/smd/log"); in dumpstateBoard()
162 …RunCommandToFd(fd, "ION HEAPS", {"/vendor/bin/sh", "-c", "for d in $(ls -d /d/ion/*); do for f in … in dumpstateBoard()
163 DumpFileToFd(fd, "dmabuf info", "/d/dma_buf/bufinfo"); in dumpstateBoard()
164 DumpFileToFd(fd, "MDP xlogs", "/d/mdp/xlog/dump"); in dumpstateBoard()
165 DumpFileToFd(fd, "TCPM logs", "/d/tcpm/9-0022"); in dumpstateBoard()
166 …RunCommandToFd(fd, "Temperatures", {"/vendor/bin/sh", "-c", "for f in /sys/class/thermal/thermal* … in dumpstateBoard()
167 …RunCommandToFd(fd, "CPU time-in-state", {"/vendor/bin/sh", "-c", "for cpu in /sys/devices/system/c… in dumpstateBoard()
168 …RunCommandToFd(fd, "CPU cpuidle", {"/vendor/bin/sh", "-c", "for cpu in /sys/devices/system/cpu/cpu… in dumpstateBoard()
169 DumpFileToFd(fd, "FUSB302 logs", "/d/ipc_logging/fusb302/log"); in dumpstateBoard()
171 …RunCommandToFd(fd, "Power supply properties", {"/vendor/bin/sh", "-c", "for f in /sys/class/power_… in dumpstateBoard()
172 DumpFileToFd(fd, "Battery cycle count", "/sys/class/power_supply/bms/device/cycle_counts_bins"); in dumpstateBoard()
173 …RunCommandToFd(fd, "QCOM FG SRAM", {"/vendor/bin/sh", "-c", "echo 0x400 > /d/fg_memif/address ; ec… in dumpstateBoard()
177 RunCommandToFd(fd, "FP LOGS", {"qsee_logger", "-d"}); in dumpstateBoard()
180 DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc"); in dumpstateBoard()