Commit Graph

11 Commits

Author SHA1 Message Date
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
ChengYou Ho
a7e0f4632c Update to latest and remove common part
to common folder

Bug: 140363359
Change-Id: I9319e1451dbccc9d19568bf4ae4719b2d04450eb
2019-09-10 10:59:47 +08:00
Alex Hong
1c2dbd8222 Create aosp_redfin target
Bug: 139478768
Change-Id: I061f89a72b5e7b81280406abf85cca479b86f340
2019-08-19 12:39:55 +08:00