summaryrefslogtreecommitdiff
path: root/dumpstate
AgeCommit message (Collapse)Author
2020-07-09Dump the debugfs information only in userdebug buildAlex Hong
W/sh (10769): type=1400 audit(0.0:416): avc: denied { read } for name="/" dev="dm-5" ino=2 scontext=u:r:hal_dumpstate_impl:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 W/sh (10771): type=1400 audit(0.0:417): avc: denied { read } for name="/" dev="dm-5" ino=2 scontext=u:r:hal_dumpstate_impl:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 Bug: 160544144 Test: run cts -m CtsSecurityHostTestCases -t android.security.cts.SELinuxHostTest#testNoBugreportDenials Change-Id: Ib10b9b0e959e86c6e96610015df93537102d7dde
2020-07-07dumpstate: dump logbuffer_device in dumpstateJack Wu
Bug: 159680802 Test: check dumpstate result Signed-off-by: Jack Wu <wjack@google.com> Change-Id: If10d5b654e4e39747a29cfd23fdf6b7b658a007d
2020-07-06Add Camera profiler CamNode logFo Lee
In order to clarify and improve video jank problem, we plan to add some CamNode log into bugreport Bug: 158243741 Change-Id: Idb1cf97c321027cdc7651700d32fe0cb92ab016b
2020-06-16dumpstate: add battery eeprom to dumpstateKen Tsou
sync ag/10382199 Bug: 149979769 Test: trigger dumpstate and check battery eeprom data Change-Id: I390bcf599fd232371963b8a3b2cfb282dca05808 Signed-off-by: Wasb Liu <wasbliu@google.com> Signed-off-by: Ken Tsou <kentsou@google.com>
2020-06-10dumpstate: change touch output data formatSuper Liu
Bug: 144326854 Test: check bugreport output data Signed-off-by: Super Liu <supercjliu@google.com> Change-Id: I0b240e1488a8319c9472a68bf82476b71614c881
2020-06-08[R3] ril: Add null check when strtok_r returnWilly Hu
Symptom: We meet the issue about the incomplete log, when we process covert to pcap file, it will cause to crash due to strtok_r return null pointer. Log: 2020-05-27 20:48:33.058 0000 00 0e b6 00 00 02 00 0e b6 00 00 01 86 DD 60 03 22 0a 00 28 06 40 20 01 b4 00 e3 06 1b 5b a3 67 54 1f b6 41 76 ac 20 01 b0 00 01 68 00 00 00 00 00 00 00 00 00 02 bf d0 03 55 d3 ec 6a 8f 00 00 00 00 a0 02 ff ff 0c b5 00 00 02 04 05 a0 04 02 08 0a 36 45 3b 33 00 00 00 00 01 03 03 08 // it's incomplete log as below 2020-05-27 20:48:33. Bug: 157973383 Test: 1. We can reproduce this issue by using incomplete log as above description. 2. Manual trigger bugreport with incomplete log and the symptom of crash is gone. Change-Id: I9a69104a1d354da8e732b6c6d7fbe675d2863ed3
2020-06-08redfin: dumpstate: add UFS err_stats dumpLeo Liou
dumpstate_board.txt: ------ UFS err_stats (/vendor/bin/sh ... ------ err_clear_pend_xfer_tm:0 err_eh:0 err_hibern8_enter:0 err_hibern8_exit:0 err_int_fatal_error:0 err_int_uic_error:0 err_linkstartup:0 err_power_mode_change:0 err_resume:0 err_suspend:0 err_task_abort:0 err_vops_suspend:0 Bug: 137150088 Bug: 151790553 Test: run bugreport and capture dumpstate_board Change-Id: I519d4d751028e127abffcd0230d0e7664aa13386 Signed-off-by: Leo Liou <leoliou@google.com>
2020-05-29ril: [R3] Support traffic stats log convert tp pcapWilly Hu
convert traffic stats log(extended_log_datastall_pkt.txt) to pcap when dump bugreport. Bug: 154492175 Test: 1. I do see extended_log_datastall.pcap file in dumstate_board.bin when I trigger bugreport. (data/vendor/radio/extended_logs/extended_log_datastall.txt) 2. I have do the test about incomplete/truncated logs, pcap just can parse to wrong information but not impact the dumpstate process. Change-Id: Iea892bc66bbce8d7f219ca1cde3701cebb35ff80
2020-05-29dump panel information in dumpstate_boardraylinhsu
add panel information to dumpstate_board.txt Bug: 152169557 Test: adb bugreport and verify logs in dumpstate_board.txt Change-Id: Ie86b738b2b2a2c214de2e74d2b46a0f96e703cd0
2020-05-29dumpstate: refactor DumpUFSLeo Liou
The DumpUFS function cannot work with the real sepolicy rules. So refactor the function to fix the problem. Bug: 149468879 Test: run bugreport Change-Id: I9b260d18f4cc768cba98b64d76a149241e17c22b Signed-off-by: Leo Liou <leoliou@google.com>
2020-05-29Merge "Dumpstate: add f2fs info and remove too specific fragmentation info" ↵Ocean Chen
into rvc-dev Change-Id: I5489d4dd25cc29ff01080de2daab39353944c4be Change-Id: I9da7bad20f0ae7d34a17aa107ba08a34f514d6a9 Change-Id: I678871172bcda20777e756475833dd75dedf705a Change-Id: Ic0c9ae80c05b6cc16fa5d0cfef4bbe00e47de130
2020-05-29Dumpstate: add f2fs info and remove too specific fragmentation infoJaegeuk Kim
Bug: 149844577 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Signed-off-by: Ocean Chen <oceanchen@google.com> Change-Id: Id05aaa58118e3d12b4e2734e3014e586e33ee84d
2020-05-29Merge "dumpstate: add rtx logbuffer in dumpstate" into rvc-devTreeHugger Robot
Change-Id: I15ce120c4a9c246149f3fe291fbd3f6fcab4b036 Change-Id: I0414eb56ec39855e3e950c511999600f0a886714 Change-Id: I5a0ed95c29b1bb82073570f657f5369bbf53b0f5 Change-Id: Ie56c524c40d50cf37eab99b67c2757a939979492
2020-05-29dumpstate: add rtx logbuffer in dumpstateYiHsiang Peng
Bug: 149061606 Signed-off-by: YiHsiang Peng <yihsiangpeng@google.com> Change-Id: I6421315d57cf21a169e1da1473da7e6e8251e232
2020-05-29dumpstate: don't dump modem logs if verbose logging is disabled.Hungyen Weng
Bug: 151186921 Change-Id: I9e7b499d332ea4e042edf173ac0368f3c537f0f7
2020-05-29Redfin: fix DumpstateMode validation.Hunter Knepshield
The PROTO mode was added after initial HAL upgrade and is causing VTS failures due to the way the DumpstateMode param is being validated. Bug: 150873571 Test: make (no device run VTS, older devices pass with identical change) Change-Id: I5a26d9e12fb60ddd5526275cb0d176ff9acef6e4 (cherry picked from commit 1d4fd8a0b221ef14cbe56a67dbe7b303bf065cd0)
2020-05-29dumpstate: Use thread to dump modem logsHungyen Weng
Bug: 150185396 Change-Id: I9d989d5e42158b8d85dfd05761eca2516be9a1d6
2020-05-29vibrator: Sync factory fixed to mainlinechasewu
Bug: 149666621 Bug: 149274114 Test: manual check logs Change-Id: Ib360f31008c5619d64a1c5c2a9b24baed53140f7 Signed-off-by: chasewu <chasewu@google.com>
2020-05-29Merge "dumpstate: Remove unused files" into qt-qpr1-dev am: af4b41f7f5 am: ↵Automerger Merge Worker
7f188ffbad Change-Id: I5ec0f3220795d1893083fa21b6d8971da555a3d7
2020-05-29Merge "dumpstate: Remove unused files" into qt-qpr1-devSalmax Chang
Change-Id: Ia3e3285ffb0f63bb733f4aeab209fdbf8ad77ed8
2020-05-29Merge "redfin: support modem logging on user build"Hungyen Weng
Change-Id: Id146dcbffb51ed44e4c090875eff4a23faef4b88 Change-Id: I5d36054e592196719ac0841ae1c34cfba4a733a2 Change-Id: If11b59fb1ba69947fd1e4716f10da1a5a450f749 Change-Id: Ifa5b46ec193150bbbbba9e9185811c6da1f4163f
2020-05-29dumpstate: Remove unused filesSalmaxChang
Bug: 144332391 Change-Id: I87b3a2dda2eee10aa7ee69e906341f4815fae1f4
2020-05-29redfin: support modem logging on user buildHungyen Weng
Bug: 143047251 Change-Id: Ifd6f6c779ee0f757b5be11282758d86b78420d3e
2020-05-29Update dumpstate HAL to V1.1Hungyen Weng
Bug: 143184495 Test: atest VtsHalDumpstateV1_1TargetTest pass Change-Id: I087622c49e2632d7e759a6384c5e09102e072fd7
2020-05-29dumpstate: Remove to dump MDP xlog in bugreport. am: cc642e0216 am: a4d444688cRaylin Hsu
Change-Id: I7493b5afeaf3eff735bcea16d2de6819a0f337aa
2020-05-29dumpstate: Remove to dump MDP xlog in bugreport.Raylin Hsu
The /data/vendor/display/mdp_xlog is for mdp driver but not for DRM/KMS. The bugreport should not need dump it. Bug: 149467103 Test: There is no failed selinux log of display_vendor_data_file. Change-Id: I79adfd810be9c5df1f42ce5732aca930c2cee4e3
2020-05-29dumpstate: Include Citadel status in all bugreportsBill Richardson
Gather Citadel's firmware version, uptime stats, and motherboard type in all bug reports. None of this can be used to identify a specific phone, so it's safe to run in production builds. Previously we were running --id and --selftest. Because these could be used to indentify a specific Citadel chip, we only gathered it on userdebug and test builds. We used that to isolate problems with early Citadel samples in prototype phones, which we've done, fixed, and replaced. We don't need that info anymore. Bug: 141235263 Test: manual Change-Id: Ie8bbf818bca5bfda3905cbef9e103854dc0abaef Merged-In: Ie8bbf818bca5bfda3905cbef9e103854dc0abaef Signed-off-by: Bill Richardson <wfrichar@google.com> (cherry picked from commit cbb9211b88ad75d17835579b3af31daa76910bc0)
2020-05-29Pause modem logging earlier to avoid timeoutJie Song
Bug: 148300450 Change-Id: I76eb29a80d8f6b0e3f424c046fb4620e9a4434ab
2020-05-29Merge "dumpstate: Change TCPM and pd_engine logs paths" into qt-qpr1-dev am: ↵Automerger Merge Worker
83d1864efb am: 8dfbad966d Change-Id: I9b366d26c8dfc3937a7761e247f6c6db0af48c6f
2020-05-29dumpstate: Change TCPM and pd_engine logs pathsKyle Tso
Bug: 140367237 Test: check logs in dumpstate Change-Id: I98dd9b724f50ab788986721ee1dd0e3d189576a2 Signed-off-by: Kyle Tso <kyletso@google.com>
2020-05-29Merge "redfin: dumpstate: add touch raw data types 3, 5, 30 and 31 to ↵Automerger Merge Worker
bugreport" into qt-qpr1-dev am: 78227d661f am: 9badd4dbad Change-Id: I40400d8753929bc463c581d7c85306bd1b183005
2020-05-29Merge "redfin: dumpstate: add touch raw data types 3, 5, 30 and 31 to ↵TreeHugger Robot
bugreport" into qt-qpr1-dev Change-Id: I0ee0a7cdea042ccfe8d9911535f440eb3dc72ba1
2020-05-29redfin: dumpstate: add touch raw data types 3, 5, 30 and 31 to bugreportSuper Liu
Bug: 144538796 Test: check bugreport for touch snapshots Change-Id: If683e4271fcee01f3db4c864a094ac795469106f Signed-off-by: Super Liu <supercjliu@google.com>
2020-05-29Add cooling device stat dump in BR am: 92575f1061 am: 8c31a81f47Automerger Merge Worker
Change-Id: I7bb309780c53bb977bf40ca88b6e24b14047313c
2020-05-29Add cooling device stat dump in BRWei Wang
Test: Verified dumpstate_board.txt (cherry picked from commit 3a3004d07a1db8d23a71a6481bbeb5d31a03d173) Change-Id: I7d42bce8d63da01ee2415349926eec6506d1b062 Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29Merge "dumpstate: dump ttf logbuffer in dumpstate" into qt-qpr1-dev am: ↵Automerger Merge Worker
290de49440 am: d3f072ceed Change-Id: I2d818c27fdca310d8a86a81d73f6b7c47cdf7c32
2020-05-29dumpstate: dump ttf logbuffer in dumpstateJack Wu
Bug: 146775451 Test: check dumpstate result Change-Id: I7e4af209dc36dd98ff05b95499b297e4969d392d Signed-off-by: Jack Wu <wjack@google.com>
2020-05-29dumpstate: Include Citadel status in all bugreportsBill Richardson
Gather Citadel's firmware version, uptime stats, and motherboard type in all bug reports. None of this can be used to identify a specific phone, so it's safe to run in production builds. Previously we were running --id and --selftest. Because these could be used to indentify a specific Citadel chip, we only gathered it on userdebug and test builds. We used that to isolate problems with early Citadel samples in prototype phones, which we've done, fixed, and replaced. We don't need that info anymore. Bug: 141235263 Test: manual Change-Id: Ie8bbf818bca5bfda3905cbef9e103854dc0abaef Signed-off-by: Bill Richardson <wfrichar@google.com>
2020-05-29redfin: dumpstate: collect touch calibration info am: 85b2ca3003 am: 856fc81d80Automerger Merge Worker
Change-Id: I528160b0f8e552d4ac88aa7eda672ab91f0357a8
2020-05-29redfin: dumpstate: collect touch calibration infoSuper Liu
Bug: 145262526 Test: check bugreport for touch snapshots Change-Id: I0760eafcd0b9a395a00112eb7f9b7fc280945e91
2020-05-29redfin: dumpstate: adjust touch snapshoots sequence am: fd86122f1f am: ↵Automerger Merge Worker
3dda595df2 Change-Id: I45daf38f2da2cdd31f0252ab0bc7c16790285780
2020-05-29redfin: dumpstate: adjust touch snapshoots sequenceSuper Liu
Bug: 144538796 Test: check bugreport for touch snapshots Change-Id: If72c659349895146bf0b7d37ab5616f372552788 Signed-off-by: Super Liu <supercjliu@google.com>
2020-05-29Merge changes from topic "R3 battery dumpstate" into qt-qpr1-dev am: ↵Automerger Merge Worker
c0d279c5bc am: 77aa220a7d Change-Id: I3e2b418d385e777be2737fcbdcd1b75c92856332
2020-05-29dumpstate: add wireless charging info in dumpstateYiHsiang Peng
Bug: 146817163 Test: check dumpstate result Change-Id: I38d9ffd31acab1208419bee792d0914cce936078 Signed-off-by: YiHsiang Peng <yihsiangpeng@google.com>
2020-05-29dumpstate: add ttf*, smblib log and ssoc in dumpstateJack Wu
also remove unused code for WLC and MAXFG Bug: 146775451 Test: check dumpstate result Change-Id: I3bbcfec007b1be3eb056e6e9fea92b34d19729f8 Signed-off-by: Jack Wu <wjack@google.com>
2020-05-29ril: collect haldebug log in bugreportTim Lin
File is generated when RIL crash to keep haldebug log. Bug: 129143228 Bug: 146465887 Test: build pass and check haldebug_ril0 in bugreport Change-Id: I3690845a08fe7fedddc13adced02b9316f54fd39
2020-05-29Merge "Put vendor. prefix to radio sysprops" into qt-qpr1-dev am: 501e4f1cbb ↵Automerger Merge Worker
am: 84d0e86170 Change-Id: I4c9d6dd0f1aaa958931f64080d4f5cb4c1c201e7
2020-05-29Merge "Put vendor. prefix to radio sysprops" into qt-qpr1-devGary Jian
Change-Id: I8f058961263908be1f10f2e75fc4d34b2d5ad87d
2020-05-29Put vendor. prefix to radio syspropsGary Jian
-Starting from Q-launching devices, sysprops defined in vendor partition should have vendor. prefix. -porting from ag/9008775 Bug: 145484169 Test: build pass and sanity test Change-Id: I0a4cb358e25cca692da1f2f69539f1af7bf66918
2020-05-29Merge "Add IPA statistics to bugreport" into qt-qpr1-devGary Jian
Change-Id: Iad2aba51c5dedc7097134af7c4ccdc61ba7f773b