7 Commits

Author SHA1 Message Date
Adam Shih
f99af5651b Change bash script to C++ implementation
Bug: 287884860
Test: adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default dump_memory
Change-Id: Ifd6e7b19d1aaa8ca4e9d5b50902d4283dee9dffb
2023-07-19 13:20:59 +08:00
Adam Shih
872e477e9f create device frequency dump
Bug: 240530709
Test: adb bugreport
Change-Id: I8db76f46e9e304b1d861c1d6b8ab031611c25e7e
2023-02-15 11:14:37 +08:00
Adam Shih
2349e899e7 create memory dump
Bug: 240530709
Test: adb bugreport
Change-Id: Icdd62b1ff1d7a80d089c795bcf2ec0baa81905a4
2023-02-14 11:24:50 +08:00
Adam Shih
7fbb67dd18 move dump cpu to gs-common
After this patch, cpu and soc dump in total on ROM P45537572(panther) took:
------ Section end: dump_soc ------
Elapsed msec: 12

While previous cpu dump on ROM 9386726(panther) took:
------ Section end: cpu ------
Elapsed msec: 1445

Bug: 240530709
Test: adb bugreport
Change-Id: I33bc01c05a944c4c171c3874d963d02d708fec6c
2022-12-13 14:00:42 +08:00
Adam Shih
4b68f5fe95 create a lib to hold commonly used functions
Bug: 240530709
Test: adb bugreport
Change-Id: Idcdcca968b65d2bd413b219d39fc1104dfc9f3b8
2022-10-18 13:38:13 +08:00
Bob Badour
37b8e22c2e [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs-common
Added SPDX-license-identifier-Apache-2.0 to:
  ramdump/Android.bp
  soc/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Id2b08f9edfdc7d9828f28739c28b23c318f352a2
2022-10-06 13:32:35 -07:00
Adam Shih
cf7266088f move soc dump to gs-common
Bug: 248428203
Test: adb bugreport
Change-Id: Iaf8b48d5062536bbece1562618f965947dea22f0
2022-10-04 13:36:07 +08:00