android dsi 源码分析,Android 调试系列-Bugreport实战篇

Bugreport

上一篇文章Bugreport源码篇主要是从源码角度来分析了一下系统是如何生成Bugreport的,以及Bugreport的源码实现。本篇主要从使用角度来对Bugreport中包含的内容做相关介绍。也是基于Android 8.0版本,由于Bugreport获取的内容很长,这里只能简单划分如下21块内容,简单说说各部分log的信息。

注:这里拿小米手机dump的bugreport内容来做介绍

1、系统build相关信息

========================================================

== dumpstate: 2018-11-10 00:22:54

========================================================

Build: OPM1.171019.011

Build fingerprint: 'xiaomi/tulip/tulip:8.1.0/OPM1.171019.011/8.11.9:user/release-keys'

Bootloader: unknown

Radio: 660_GEN_PACK-1.174030.1.174977.1

Network: (unknown)

Kernel: Linux version 4.4.78-perf+ (builder@mi-server) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Nov 9 04:24:09 WIB 2018

Command line: ramoops_memreserve=4M rcupdate.rcu_expedited=1 console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc170000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 buildvariant=user root=/dev/mmcblk0p61 androidboot.verifiedbootstate=orange androidboot.keymaster=1 androidboot.veritymode=enforcing androidboot.bootdevice=c0c4000.sdhci androidboot.serialno=a02f873c androidboot.hwc=Global androidboot.hwversion=4.20.0 androidboot.hwlevel=0 androidboot.hwdefined=0 androidboot.baseband=sdm mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_nt36672a_tianma_fhdplus_video:config0:1:none:cfg:single_dsi androidboot.fpsensor=fpc androidboot.secureboot=0

Bugreport format version: 1.0

Dumpstate info: id=5 pid=27250 dry_run=0 args=/system/bin/dumpstate -s extra_options=

系统build信息如下:

dumpstate:date

Build: getprop ro.build.display.id

Build fingerprint: getprop ro.build.fingerprint

Bootloader: getprop ro.bootloader

Radio:getprop gsm.version.baseband

Network: getprop gsm.operator.alpha

Kernel: dump_file /proc/version

Command line: cat /proc/cmdline

系统运行时间:

------ UPTIME (uptime) ------

00:22:55 up 4:42, 0 users, load average: 44.10, 46.18, 42.83

------ 0.018s was the duration of 'UPTIME' ------

up即为uptime:系统运行时长00:22:55

idle time:系统空闲时长4:42

user:用户数0

load average:cup 最近1min,5min,15min的平均负载情况.这个值的标准由cpu有多少个核来决定

2、下面列举bugreport结果相关项

------ DUMPSYS MEMINFO (/system/bin/dumpsys -t 90 meminfo -a) ------

------ DUMPSYS CPUINFO (/system/b

你可能感兴趣的:(android,dsi,源码分析)