Commits on Source (7)
-
Rob Barnes authored
bert_collector collects ACPI BERT table and data and sends it to DropBox. When an error is detected by firmware during boot, a BERT table and data sysfs file will be present at /sys/firmware/acpi/tables/BERT and /sys/firmware/acpi/tables/data/BERT. bert_collector does a basic validity check before sending to DropBox. bert_collector was ported from the ChromiumOS version of the same name. Reference: https://chromium.googlesource.com/chromiumos/platform2/+/31746c0d/crash-reporter/bert_collector.cc Bug: 357626966 Test: atest bert_collector_test Change-Id: Ibc808704bc6c4e80caafeac2c76f771a35777a96
473ca751 -
Rob Barnes authored
Pass report as a const reference so it's not copied. Bug: None Test: atest bert_collector_test Change-Id: I95652105b495a7fa5fa3ead4a019f5a95a7ae433
1923db25 -
Rob Barnes authored
Update the bert_collector to align with the latest schema format. Entries are delimited by ===<filename>===. Added and improved tests related to report format. Bug: 375241111 Test: Bert report collected in expected format Change-Id: I35fefa8e34afc9e6b9bea86b475c8e9016524bf9
e3637203 -
Rob Barnes authored
Add init rc script to start bert_collector at boot. Runs at late_start since timing isn't critical. Bug: 357626966 Test: atest bert_collector_test Test: dropbox report generated after boot Change-Id: If11f6baa9a60e1efe76a5f069c0ab809fe8a7a62
ce072021 -
Xin Li authored
Bug: 385190204 Merged-In: If11f6baa9a60e1efe76a5f069c0ab809fe8a7a62 Change-Id: Ia204385363a835b1ecb75d88ebc72fed7e82b147
43f030de -
Xin Li authored
Bug: 385190204 Merged-In: I988c95fbcfd51da2466ee28b0e9093b18c854ce5 Change-Id: I0986272050a1a1d383a2bdeac5012febe95fb0c4
1ec63e18 -
Android Build Coastguard Worker authored
Change-Id: I83a9088b9441148d48ca5e9d54cdcc1872c60b92
c4245755
Showing
- Android.bp 60 additions, 0 deletionsAndroid.bp
- OWNERS 4 additions, 0 deletionsOWNERS
- PREUPLOAD.cfg 6 additions, 0 deletionsPREUPLOAD.cfg
- bert_collector.cpp 180 additions, 0 deletionsbert_collector.cpp
- bert_collector.h 64 additions, 0 deletionsbert_collector.h
- bert_collector.rc 7 additions, 0 deletionsbert_collector.rc
- bert_collector_test.cpp 220 additions, 0 deletionsbert_collector_test.cpp
- main.cpp 28 additions, 0 deletionsmain.cpp
Android.bp
0 → 100644
OWNERS
0 → 100644
PREUPLOAD.cfg
0 → 100644
bert_collector.cpp
0 → 100644
bert_collector.h
0 → 100644
bert_collector.rc
0 → 100644
bert_collector_test.cpp
0 → 100644
main.cpp
0 → 100644