diff options
author | Kenny Root <kroot@google.com> | 2023-02-27 14:23:00 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2023-02-28 18:30:42 -0800 |
commit | 09cb4227bb313274e46b973024ed3820319778e1 (patch) | |
tree | 54c4023737f000c582d253be93b960575dbe9a57 /dumpstate/dump_gsa.sh | |
parent | 286ebed626a73d879fe37f2771a303310d040a43 (diff) | |
download | zuma-09cb4227bb313274e46b973024ed3820319778e1.tar.gz |
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
Diffstat (limited to 'dumpstate/dump_gsa.sh')
-rw-r--r-- | dumpstate/dump_gsa.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dumpstate/dump_gsa.sh b/dumpstate/dump_gsa.sh new file mode 100644 index 0000000..a0d4232 --- /dev/null +++ b/dumpstate/dump_gsa.sh @@ -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 + |