Jie Song
2eb6949659
Pause modem logging earlier to avoid timeout
...
Bug: 148300450
Change-Id: I76eb29a80d8f6b0e3f424c046fb4620e9a4434ab
2020-05-29 21:20:17 +08:00
Automerger Merge Worker
c6331ae847
Merge "dumpstate: Change TCPM and pd_engine logs paths" into qt-qpr1-dev am: 83d1864efb am: 8dfbad966d
...
Change-Id: I9b366d26c8dfc3937a7761e247f6c6db0af48c6f
2020-05-29 21:20:17 +08:00
Kyle Tso
ac99d26353
dumpstate: Change TCPM and pd_engine logs paths
...
Bug: 140367237
Test: check logs in dumpstate
Change-Id: I98dd9b724f50ab788986721ee1dd0e3d189576a2
Signed-off-by: Kyle Tso <kyletso@google.com >
2020-05-29 21:20:16 +08:00
Automerger Merge Worker
2244099469
Merge "redfin: dumpstate: add touch raw data types 3, 5, 30 and 31 to bugreport" into qt-qpr1-dev am: 78227d661f am: 9badd4dbad
...
Change-Id: I40400d8753929bc463c581d7c85306bd1b183005
2020-05-29 21:20:12 +08:00
TreeHugger Robot
48c21394d4
Merge "redfin: dumpstate: add touch raw data types 3, 5, 30 and 31 to bugreport" into qt-qpr1-dev
...
Change-Id: I0ee0a7cdea042ccfe8d9911535f440eb3dc72ba1
2020-05-29 21:20:11 +08:00
Super Liu
9ddfb169a9
redfin: dumpstate: add touch raw data types 3, 5, 30 and 31 to bugreport
...
Bug: 144538796
Test: check bugreport for touch snapshots
Change-Id: If683e4271fcee01f3db4c864a094ac795469106f
Signed-off-by: Super Liu <supercjliu@google.com >
2020-05-29 21:20:11 +08:00
Automerger Merge Worker
0b2fd64143
Add cooling device stat dump in BR am: 92575f1061 am: 8c31a81f47
...
Change-Id: I7bb309780c53bb977bf40ca88b6e24b14047313c
2020-05-29 21:20:10 +08:00
Wei Wang
eaed077922
Add cooling device stat dump in BR
...
Test: Verified dumpstate_board.txt
(cherry picked from commit 3a3004d07a1db8d23a71a6481bbeb5d31a03d173)
Change-Id: I7d42bce8d63da01ee2415349926eec6506d1b062
Signed-off-by: TeYuan Wang <kamewang@google.com >
2020-05-29 21:20:10 +08:00
Automerger Merge Worker
9c4ed74312
Merge "dumpstate: dump ttf logbuffer in dumpstate" into qt-qpr1-dev am: 290de49440 am: d3f072ceed
...
Change-Id: I2d818c27fdca310d8a86a81d73f6b7c47cdf7c32
2020-05-29 21:20:09 +08:00
Jack Wu
ffb2cba2f9
dumpstate: dump ttf logbuffer in dumpstate
...
Bug: 146775451
Test: check dumpstate result
Change-Id: I7e4af209dc36dd98ff05b95499b297e4969d392d
Signed-off-by: Jack Wu <wjack@google.com >
2020-05-29 21:20:08 +08:00
Bill Richardson
4952a53b1a
dumpstate: Include Citadel status in all bugreports
...
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-29 21:20:07 +08:00
Automerger Merge Worker
cffecd3173
redfin: dumpstate: collect touch calibration info am: 85b2ca3003 am: 856fc81d80
...
Change-Id: I528160b0f8e552d4ac88aa7eda672ab91f0357a8
2020-05-29 21:19:57 +08:00
Super Liu
7f3d415097
redfin: dumpstate: collect touch calibration info
...
Bug: 145262526
Test: check bugreport for touch snapshots
Change-Id: I0760eafcd0b9a395a00112eb7f9b7fc280945e91
2020-05-29 21:19:56 +08:00
Automerger Merge Worker
f59c2b5b4e
redfin: dumpstate: adjust touch snapshoots sequence am: fd86122f1f am: 3dda595df2
...
Change-Id: I45daf38f2da2cdd31f0252ab0bc7c16790285780
2020-05-29 21:19:54 +08:00
Super Liu
6efd6a14e1
redfin: dumpstate: adjust touch snapshoots sequence
...
Bug: 144538796
Test: check bugreport for touch snapshots
Change-Id: If72c659349895146bf0b7d37ab5616f372552788
Signed-off-by: Super Liu <supercjliu@google.com >
2020-05-29 21:19:54 +08:00
Automerger Merge Worker
df367a022b
Merge changes from topic "R3 battery dumpstate" into qt-qpr1-dev am: c0d279c5bc am: 77aa220a7d
...
Change-Id: I3e2b418d385e777be2737fcbdcd1b75c92856332
2020-05-29 21:18:53 +08:00
YiHsiang Peng
3538cf4813
dumpstate: add wireless charging info in dumpstate
...
Bug: 146817163
Test: check dumpstate result
Change-Id: I38d9ffd31acab1208419bee792d0914cce936078
Signed-off-by: YiHsiang Peng <yihsiangpeng@google.com >
2020-05-29 21:18:52 +08:00
Jack Wu
89ba696591
dumpstate: add ttf*, smblib log and ssoc in dumpstate
...
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-29 21:18:52 +08:00
Tim Lin
a03a5d3c9a
ril: collect haldebug log in bugreport
...
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-29 21:18:51 +08:00
Automerger Merge Worker
901d669f42
Merge "Put vendor. prefix to radio sysprops" into qt-qpr1-dev am: 501e4f1cbb am: 84d0e86170
...
Change-Id: I4c9d6dd0f1aaa958931f64080d4f5cb4c1c201e7
2020-05-29 21:18:48 +08:00
Gary Jian
ae6d0a3bc8
Merge "Put vendor. prefix to radio sysprops" into qt-qpr1-dev
...
Change-Id: I8f058961263908be1f10f2e75fc4d34b2d5ad87d
2020-05-29 21:18:47 +08:00
Gary Jian
2ba107119b
Put vendor. prefix to radio sysprops
...
-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-29 21:18:47 +08:00
Gary Jian
c2d20a0e0d
Merge "Add IPA statistics to bugreport" into qt-qpr1-dev
...
Change-Id: Iad2aba51c5dedc7097134af7c4ccdc61ba7f773b
2020-05-29 21:18:45 +08:00
Automerger Merge Worker
0154357c1c
Merge "Add IPA statistics to bugreport" into qt-qpr1-dev am: 115a918651 am: cb6bedef23
...
Change-Id: Ic970fd3a4cf502435504380cdf3401e54508a65d
2020-05-29 21:18:45 +08:00
Automerger Merge Worker
38684f2238
Merge "Revert "redfin:dumpstate: Temporarily disable Temperatures from dumpstate_board.bin"" into qt-qpr1-dev am: 02a0dabce4 am: e6603ce931
...
Change-Id: I1116ead008a9e3db9db3b249d09f8119ad8df188
2020-05-29 21:18:44 +08:00
Gary Jian
c1799dc575
Add IPA statistics to bugreport
...
-So far, It's hard to capture the IPA related debug info
when issue happen because user need run adb command (cat /sys/kernel/debug/ipa/*)
to trigger IPA dump the debug message.
So add IPA statistics to bugreport for IPA related issues.
-porting from ag/9769398
Bug: 140913343
Test: 1. build pass
2. make sure ipa_statistics_msg could be dumped into dumpstate_board.bin
in bugreport
Change-Id: I446949fe84c6472e773a19f724fc80536660138a
2019-12-11 08:33:40 +00:00
YiHo Cheng
e892b89317
Revert "redfin:dumpstate: Temporarily disable Temperatures from dumpstate_board.bin"
...
This reverts commit 69484bcb07 .
Reason for revert: <"Temperatures dumpstate command without timeout">
Change-Id: I291ec6f7a706b904643d0a56a500d9a3783ed6ae
2019-12-09 11:18:54 +00:00
Jason Chiu
cc045ff36a
redfin:dumpstate: Temporarily disable Temperatures from dumpstate_board.bin am: 69484bcb07
...
am: 91e5bd1461
Change-Id: Ia491d6e59da554e0101e835bfe1d8b46173c4982
2019-12-02 01:31:17 -08:00
Jason Chiu
69484bcb07
redfin:dumpstate: Temporarily disable Temperatures from dumpstate_board.bin
...
Bug: 145258138
Bug: 145345795
Change-Id: I6df95cc21d7fb57bc04279a0e8226160b9e3df53
Signed-off-by: Jason Chiu <jasoncschiu@google.com >
2019-12-02 16:58:12 +08:00
SalmaxChang
cd2d9e041c
Merge "dumpstate: Remove unused codes" into qt-qpr1-dev am: da93f57eaf
...
am: 7c82ccf748
Change-Id: I4c6408182b2fd3757e04850da7cda87190165b25
2019-12-02 00:10:41 -08:00
TreeHugger Robot
da93f57eaf
Merge "dumpstate: Remove unused codes" into qt-qpr1-dev
2019-12-02 08:04:48 +00:00
SalmaxChang
4d5a2062e8
dumpstate: Remove unused codes
...
Bug: 144332391
Change-Id: Id7292c62ab76fb96b6591520d6fad72cd3b93b4c
2019-12-02 13:55:22 +08:00
TeYuan Wang
8a72e57b58
dumpstate: add CPU scaling_max_freq info am: 0a94f25001
...
am: 1bd1dcb743
Change-Id: I9c3a51866d3b6d043bc3b8afeacdaea4e33da439
2019-11-27 19:24:39 -08:00
TeYuan Wang
0a94f25001
dumpstate: add CPU scaling_max_freq info
...
Bug: 145253434
Test: check dumpstate_board.txt from bugreport
Change-Id: Ie91d429990b87087babba545ac45503fe5728eeb
Signed-off-by: TeYuan Wang <kamewang@google.com >
2019-11-27 14:35:28 +08:00
SalmaxChang
0eb50efad4
Merge "dumpstate: Trigger modemstat as doing dumpstate" into qt-qpr1-dev am: 0b423b568e
...
am: 5557dfef0d
Change-Id: Ic9e2063b09672c5c6186eef72f0730a648efca54
2019-11-19 22:15:58 -08:00
Super Liu
2871c2a34c
redfin: dumpstate: collect touch snapshots am: e42af1cfe6
...
am: 0b2220e1a1
Change-Id: I3eeebb34aa931d4dba91f90517c3254dda646afe
2019-11-19 22:08:44 -08:00
TreeHugger Robot
0b423b568e
Merge "dumpstate: Trigger modemstat as doing dumpstate" into qt-qpr1-dev
2019-11-20 06:07:25 +00:00
SalmaxChang
23b9c25f02
dumpstate: Trigger modemstat as doing dumpstate
...
Bug: 144735086
Synced from P19 I274bfdbf048131df17e7b108db43eaab7c180c68
Change-Id: I9f4863b04c2bfb6ac98b984d58e8056bf5f491b5
2019-11-19 16:45:07 +08:00
Super Liu
e42af1cfe6
redfin: dumpstate: collect touch snapshots
...
Bug: 144538796
Test: check bugreport for touch snapshots
Change-Id: I20edc4eefb602541987a856d90b1957a25f0a286
Signed-off-by: Super Liu <supercjliu@google.com >
2019-11-19 10:11:36 +08:00
Leo Liou
eff5b17d9e
lito: dumpstate: refactor UFS dump am: 41c0c58f43
...
am: eeeca128e1
Change-Id: I131e51fea54824adff646881c228fecd65313b5b
2019-11-15 02:09:40 -08:00
Leo Liou
41c0c58f43
lito: dumpstate: refactor UFS dump
...
* show the format of req_stats
* show the format of io_stats
* Remove show_hba & err_stats
dumpstate_board:
------ UFS io_stats (/vendor/bin/sh ... ------
ReadCnt ReadBytes WriteCnt WriteBytes RWCnt RWBytes
Started: 28083 2026180608 6217 102711296 34300 2128891904
Completed: 28083 2026180608 6217 102711296 34300 2128891904
MaxDiff: 32 1855488 32 5419008 32 5861376
------ UFS req_stats (/vendor/bin/sh -c ... ------
All Write Read Read(urg) Write(urg) Flush Discard
Min: 27 29 27 0 47 49 402
Max: 82030 12480 37678 0 82030 3751 523
Avg.: 719 654 640 0 6383 429 468
Count: 26821579 20109241 3762901 0 2853377 92778 3282
Bug: 137150088
Test: run bugreport and capture dumpstate_board
Change-Id: I519d4d751028e127abffcd0230d0e7664aa13386
Signed-off-by: Leo Liou <leoliou@google.com >
2019-11-15 16:13:13 +08:00
Rick Chen
3909c7cc9c
dumpstate: dump sensor logs to bugreport am: 19d43eaa58
...
am: be61825ade
Change-Id: I3628155e442fbffdd2fefeb8f452dede7f0e6cc2
2019-11-07 03:38:52 -08:00
Rick Chen
19d43eaa58
dumpstate: dump sensor logs to bugreport
...
Bug: 143451200
Test: Trigger bugreport and see sensor logs are in dumpstate_board.txt
Change-Id: I82be69e1eee5b72c86e8a43c8bf9a693dedfd636
Signed-off-by: Rick Chen <rickctchen@google.com >
Signed-off-by: emilchung <emilchung@google.com >
2019-11-07 15:57:28 +08:00
Leo Liou
f18e1dcf48
device: dumpstate: expand f2fs dump script am: bcc039b439
...
am: f8010b626d
Change-Id: I0922c877700e9d16087dea5992d9ef10d214f351
2019-10-29 01:27:47 -07:00
Leo Liou
bcc039b439
device: dumpstate: expand f2fs dump script
...
With the recent changes in partition mapping, multiple f2fs partitions
exists and is not fixed to specific dm-x. To address this, update the
script to dynamically locate f2fs partitions.
New log:
------ F2FS - fragmentation (/vendor/bin/sh -c for d in $(ls /proc/fs/f2fs/); ...
dm-4: /dev/block/mapper/scratch -> /dev/block/dm-4
format: segment_type|valid_blocks
segment_type(0:HD, 1:WD, 2:CD, 3:HN, 4:WN, 5:CN)
0 3|18 4|2 5|0 0|1 0|0 0|0 0|0 0|0 0|0 0|0
10 0|0 0|0 0|0 0|0 0|0 0|0 0|0 0|0 0|0 0|0
...
dm-5: /dev/block/mapper/userdata -> /dev/block/dm-5
format: segment_type|valid_blocks
segment_type(0:HD, 1:WD, 2:CD, 3:HN, 4:WN, 5:CN)
0 3|330 0|147 5|5 0|68 0|32 0|77 4|112 3|13 0|42 0|75
10 4|30 3|69 0|98 0|45 0|56 0|128 0|185 0|36 0|104 3|84
...
Bug: 137150088
Test: run bugreport and check f2fs dump
Change-Id: I5546f35f543628282a58dae38a72a379d5e56b0b
Signed-off-by: Leo Liou <leoliou@google.com >
2019-10-28 23:28:22 +08:00
Ocean Chen
5a619193f3
dumpstate: health descriptor name changed am: bac2713bca
...
am: a5a56c21ab
Change-Id: I69bd35749621e791605cdfdcd2b2a5fdf1095d61
2019-10-25 05:31:25 -07:00
Ocean Chen
bac2713bca
dumpstate: health descriptor name changed
...
The health descriptor folder name was changed
from "health" to "health_descriptor".
log:
------ UFS health (/vendor/bin/sh -c for f in $(find /sys/devices/...------
--- /sys/devices/platform/soc/1d84000.ufshc/health_descriptor/life_time_estimation_a
0x01
--- /sys/devices/platform/soc/1d84000.ufshc/health_descriptor/life_time_estimation_b
0x01
--- /sys/devices/platform/soc/1d84000.ufshc/health_descriptor/eol_info
0x01
Bug: 137150088
Bug: 141666555
Test: Run bugreport and check ufs health
Change-Id: Iaf693cf2b259240238160f1bc10362118a2538ba
Signed-off-by: Ocean Chen <oceanchen@google.com >
2019-10-24 21:17:02 +08:00
Leo Liou
822212a770
Merge "device: lito: dumpstate: cat ufs info from /proc/scsi/scsi" into qt-qpr1-dev am: 9766c86e0c
...
am: 87abe96188
Change-Id: I2431e011e5bb95b56ccf70d444e395b2230645fc
2019-10-15 03:26:19 -07:00
Leo Liou
db63ecacf6
device: lito: dumpstate: cat ufs info from /proc/scsi/scsi
...
Bug: 137150088
Test: trigger bugreport and check the result
Change-Id: I77d89b8a09066511b50c129197367d85dad35790
2019-10-14 19:30:00 +08:00
Josh Hou
e26abd33ed
Add OMADM log to the bugreport
...
Store OMADM log in data/vendor/radio
Bug: 119871368
Test: Verify OMADM log can be added to the bugreport
Change-Id: I48196149454b1694bf62a1084cacd171337d022f
2019-09-18 20:15:18 +08:00