dumpstate: add GSA logs to bugreport
Add support for reading the GSA logs sysfs file to see the GSA logs in the bugreports we get from dogfooders. Bug: 271125313 Test: adb shell dumpstate Change-Id: I09a2e039451b5eb8b7fa360ba03486bd871fb970
This commit is contained in:
parent
286ebed626
commit
09cb4227bb
3 changed files with 17 additions and 1 deletions
|
@ -23,6 +23,13 @@ sh_binary {
|
||||||
sub_dir: "dump",
|
sub_dir: "dump",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sh_binary {
|
||||||
|
name: "dump_gsa.sh",
|
||||||
|
src: "dump_gsa.sh",
|
||||||
|
vendor: true,
|
||||||
|
sub_dir: "dump",
|
||||||
|
}
|
||||||
|
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "android.hardware.dumpstate-service.zuma",
|
name: "android.hardware.dumpstate-service.zuma",
|
||||||
srcs: [
|
srcs: [
|
||||||
|
|
8
dumpstate/dump_gsa.sh
Normal file
8
dumpstate/dump_gsa.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/vendor/bin/sh
|
||||||
|
|
||||||
|
echo "--- GSA MAIN LOG"
|
||||||
|
cat /sys/devices/platform/16490000.gsa-ns/log_main
|
||||||
|
|
||||||
|
echo "--- GSA INTERMEDIATE LOG"
|
||||||
|
cat /sys/devices/platform/16490000.gsa-ns/log_intermediate
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
PRODUCT_PACKAGES += dump_wlan.sh \
|
PRODUCT_PACKAGES += dump_wlan.sh \
|
||||||
dump_power.sh
|
dump_power.sh
|
||||||
|
|
||||||
PRODUCT_PACKAGES_DEBUG += dump_cma.sh
|
PRODUCT_PACKAGES_DEBUG += dump_cma.sh \
|
||||||
|
dump_gsa.sh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue