Merge "dumpstate: add GSA logs to bugreport"

This commit is contained in:
Kenny Root 2023-03-01 05:51:40 +00:00 committed by Android (Google) Code Review
commit 83af317755
3 changed files with 17 additions and 1 deletions

View file

@ -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
View 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

View file

@ -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