のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

android bugreportの見方

"------"で検索すると、区切りがわかる。

------ DUMPSYS MEMINFO (dumpsys -t 30 meminfo -a) ------
------ 3.393s was the duration of 'DUMPSYS MEMINFO' ------

------ DUMPSYS CPUINFO (dumpsys -t 10 cpuinfo -a) ------
------ 0.055s was the duration of 'DUMPSYS CPUINFO' ------
------ IPTABLES (iptables -L -nvx) ------
------ 0.020s was the duration of 'IPTABLES' ------

------ IP6TABLES (ip6tables -L -nvx) ------
------ 0.018s was the duration of 'IP6TABLES' ------

------ IPTABLE NAT (iptables -t nat -L -nvx) ------
------ 0.014s was the duration of 'IPTABLE NAT' ------

------ IPTABLE RAW (iptables -t raw -L -nvx) ------
------ 0.020s was the duration of 'IPTABLE RAW' ------

------ IP6TABLE RAW (ip6tables -t raw -L -nvx) ------
------ 0.016s was the duration of 'IP6TABLE RAW' ------
------ UPTIME (uptime) ------
------ 0.018s was the duration of 'UPTIME' ------

------ UPTIME MMC PERF (/sys/block/mmcblk0/) ------
------ 0.016s was the duration of 'UPTIME MMC PERF' ------

------ /d/mmc0/mmc0:0001/ext_csd Extended CSD ------

------ MEMORY INFO (/proc/meminfo) ------
------ 0.001s was the duration of 'MEMORY INFO' ------

------ CPU INFO (top -n 1 -d 1 -m 30 -H) ------
------ 0.219s was the duration of 'CPU INFO' ------

------ PROCRANK (/system/xbin/su root procrank) ------
------ 1.198s was the duration of 'PROCRANK' ------

------ VIRTUAL MEMORY STATS (/proc/vmstat) ------
------ 0.000s was the duration of 'VIRTUAL MEMORY STATS' ------

------ VMALLOC INFO (/proc/vmallocinfo) ------
------ 0.013s was the duration of 'VMALLOC INFO' ------

*** /proc/slabinfo: No such file or directory
------ 0.000s was the duration of 'SLAB INFO' ------

------ ZONEINFO (/proc/zoneinfo) ------
------ 0.000s was the duration of 'ZONEINFO' ------

------ PAGETYPEINFO (/proc/pagetypeinfo) ------
------ 0.004s was the duration of 'PAGETYPEINFO' ------

------ BUDDYINFO (/proc/buddyinfo) ------
------ 0.000s was the duration of 'BUDDYINFO' ------

------ FRAGMENTATION INFO (/d/extfrag/unusable_index) ------
------ 0.000s was the duration of 'FRAGMENTATION INFO' ------

------ KERNEL WAKE SOURCES (/d/wakeup_sources) ------
------ 0.003s was the duration of 'KERNEL WAKE SOURCES' ------

------ KERNEL CPUFREQ (/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state) ------
------ 0.000s was the duration of 'KERNEL CPUFREQ' ------

------ KERNEL SYNC (/d/sync) ------
------ 0.003s was the duration of 'KERNEL SYNC' ------


------ PROCESSES AND THREADS (ps -Z -t -p -P) ------
------ 0.202s was the duration of 'PROCESSES AND THREADS' ------


------ LIBRANK (/system/xbin/su root librank) ------
------ 1.427s was the duration of 'LIBRANK' ------

------ PRINTENV (printenv) ------
------ 0.022s was the duration of 'PRINTENV' ------


------ NETSTAT (netstat -n) ------
------ 0.028s was the duration of 'NETSTAT' ------

------ LSMOD (lsmod) ------
------ 0.015s was the duration of 'LSMOD' ------

------ KERNEL LOG (dmesg) ------
------ 0.008s was the duration of 'KERNEL LOG (dmesg)' ------

------ LIST OF OPEN FILES (/system/xbin/su root lsof) ------
------ 0.963s was the duration of 'LIST OF OPEN FILES' ------

------ SMAPS OF ALL PROCESSES ------
------ SHOW MAP 1 (/init) (/system/xbin/su root showmap -q 1) ------
------ 0.028s was the duration of 'SHOW MAP 3981 (/system/bin/dumpstate)' ------
       (略)
------ SHOW MAP 4081 ([kworker/1:1]) (/system/xbin/su root showmap -q 4081) ------
------ 0.019s was the duration of 'SHOW MAP 4081 ([kworker/1:1])' ------
------ BLOCKED PROCESS WAIT-CHANNELS ------
------ PROCESS TIMES (pid cmd user system iowait+percentage) ------

------ SYSTEM LOG (logcat -v threadtime -v printable -d *:v) ------
--------- beginning of main
--------- beginning of system

--------- beginning of crash

------ 2.746s was the duration of 'SYSTEM LOG' ------
------ EVENT LOG (logcat -b events -v threadtime -v printable -d *:v) ------
------ 0.191s was the duration of 'EVENT LOG' ------

------ RADIO LOG (logcat -b radio -v threadtime -v printable -d *:v) ------
------ 0.089s was the duration of 'RADIO LOG' ------

------ LOG STATISTICS (logcat -b all -S) ------
------ 0.072s was the duration of 'LOG STATISTICS' ------

------ RAFT LOGS (/system/xbin/su root logcompressor -r /data/misc/raft/) ------
------ 0.013s was the duration of 'RAFT LOGS' ------

------ VM TRACES JUST NOW (/data/anr/traces.txt.bugreport: 2016-11-17 07:34:30) ------
------ 0.006s was the duration of 'VM TRACES JUST NOW' ------

------ VM TRACES AT LAST ANR (/data/anr/traces.txt: 2016-11-16 15:28:38) ------

*** NO TOMBSTONES to dump in /data/tombstones

------ NETWORK DEV INFO (/proc/net/dev) ------
------ 0.000s was the duration of 'NETWORK DEV INFO' ------

------ QTAGUID NETWORK INTERFACES INFO (/proc/net/xt_qtaguid/iface_stat_all) ------
------ 0.000s was the duration of 'QTAGUID NETWORK INTERFACES INFO' ------

------ QTAGUID NETWORK INTERFACES INFO (xt) (/proc/net/xt_qtaguid/iface_stat_fmt) ------
------ 0.000s was the duration of 'QTAGUID NETWORK INTERFACES INFO (xt)' ------

------ QTAGUID CTRL INFO (/proc/net/xt_qtaguid/ctrl) ------
------ 0.000s was the duration of 'QTAGUID CTRL INFO' ------

------ QTAGUID STATS INFO (/proc/net/xt_qtaguid/stats) ------
------ 0.000s was the duration of 'QTAGUID STATS INFO' ------

*** /proc/last_kmsg: No such file or directory
------ 0.000s was the duration of 'LAST KMSG' ------

------ LAST LOGCAT (logcat -L -b all -v threadtime -v printable -d *:v) ------
------ 0.025s was the duration of 'LAST LOGCAT' ------
------ NETWORK INTERFACES (ip link) ------
------ 0.031s was the duration of 'NETWORK INTERFACES' ------

------ IPv4 ADDRESSES (ip -4 addr show) ------
------ 0.017s was the duration of 'IPv4 ADDRESSES' ------

------ IPv6 ADDRESSES (ip -6 addr show) ------
------ 0.017s was the duration of 'IPv6 ADDRESSES' ------

------ IP RULES (ip rule show) ------
------ 0.016s was the duration of 'IP RULES' ------

------ IP RULES v6 (ip -6 rule show) ------
------ 0.017s was the duration of 'IP RULES v6' ------

------ RT_TABLES (/data/misc/net/rt_tables: 1970-02-19 21:53:53) ------
------ 0.000s was the duration of 'RT_TABLES' ------

------ ROUTE TABLE IPv4 (ip -4 route show table 255) ------
------ 0.013s was the duration of 'ROUTE TABLE IPv4' ------

------ ROUTE TABLE IPv6 (ip -6 route show table 255) ------
------ 0.013s was the duration of 'ROUTE TABLE IPv6' ------

------ ROUTE TABLE IPv4 (ip -4 route show table 254) ------
------ 0.013s was the duration of 'ROUTE TABLE IPv4' ------

------ ROUTE TABLE IPv6 (ip -6 route show table 254) ------
------ 0.012s was the duration of 'ROUTE TABLE IPv6' ------

------ ROUTE TABLE IPv4 (ip -4 route show table 97) ------
------ 0.012s was the duration of 'ROUTE TABLE IPv4' ------

------ ROUTE TABLE IPv6 (ip -6 route show table 97) ------
------ 0.012s was the duration of 'ROUTE TABLE IPv6' ------

------ ROUTE TABLE IPv4 (ip -4 route show table 98) ------
------ 0.012s was the duration of 'ROUTE TABLE IPv4' ------

------ ROUTE TABLE IPv6 (ip -6 route show table 98) ------
------ 0.012s was the duration of 'ROUTE TABLE IPv6' ------

------ ROUTE TABLE IPv4 (ip -4 route show table 99) ------
------ 0.012s was the duration of 'ROUTE TABLE IPv4' ------

------ ROUTE TABLE IPv6 (ip -6 route show table 99) ------
------ 0.012s was the duration of 'ROUTE TABLE IPv6' ------

------ ROUTE TABLE IPv4 (ip -4 route show table 1002) ------
------ 0.013s was the duration of 'ROUTE TABLE IPv4' ------

------ ROUTE TABLE IPv6 (ip -6 route show table 1002) ------
------ 0.012s was the duration of 'ROUTE TABLE IPv6' ------

------ ROUTE TABLE IPv4 (ip -4 route show table 1005) ------
------ 0.014s was the duration of 'ROUTE TABLE IPv4' ------

------ ROUTE TABLE IPv6 (ip -6 route show table 1005) ------
------ 0.012s was the duration of 'ROUTE TABLE IPv6' ------

------ 0.176s was the duration of 'DUMP ROUTE TABLES' ------

------ ARP CACHE (ip -4 neigh show) ------
------ 0.012s was the duration of 'ARP CACHE' -----

------ IPv6 ND CACHE (ip -6 neigh show) ------
------ 0.012s was the duration of 'IPv6 ND CACHE' ------

------ MULTICAST ADDRESSES (ip maddr) ------
------ 0.013s was the duration of 'MULTICAST ADDRESSES' ------

------ WIFI NETWORKS (wpa_cli IFNAME=wlan0 list_networks) ------
Using interface 'wlan0'
------ 0.018s was the duration of 'WIFI NETWORKS' ------

------ INTERRUPTS (1) (/proc/interrupts) ------
------ 0.002s was the duration of 'INTERRUPTS (1)' ------

------ NETWORK DIAGNOSTICS (dumpsys -t 10 connectivity --diag) ------
------ 4.900s was the duration of 'NETWORK DIAGNOSTICS' ------
------ INTERRUPTS (2) (/proc/interrupts) ------
------ 0.002s was the duration of 'INTERRUPTS (2)' ------

------ SYSTEM PROPERTIES ------
------ 0.002s was the duration of 'SYSTEM PROPERTIES' ------

------ VOLD DUMP (vdc dump) ------
------ 0.061s was the duration of 'VOLD DUMP' ------

------ SECURE CONTAINERS (vdc asec list) ------
------ 0.013s was the duration of 'SECURE CONTAINERS' ------

------ FILESYSTEMS & FREE SPACE (df) ------
------ 0.017s was the duration of 'FILESYSTEMS & FREE SPACE' ------

------ LAST RADIO LOG (parse_radio_log /proc/last_radio_log) ------
------ 0.003s was the duration of 'LAST RADIO LOG' ------

------ BACKLIGHTS ------
------ BINDER FAILED TRANSACTION LOG (/sys/kernel/debug/binder/failed_transaction_log) ------

------ 0.000s was the duration of 'BINDER FAILED TRANSACTION LOG' ------
------ BINDER TRANSACTION LOG (/sys/kernel/debug/binder/transaction_log) ------

------ 0.000s was the duration of 'BINDER TRANSACTION LOG' ------
------ BINDER TRANSACTIONS (/sys/kernel/debug/binder/transactions) ------
------ 0.001s was the duration of 'BINDER TRANSACTIONS' ------
------ BINDER STATS (/sys/kernel/debug/binder/stats) ------
------ 0.004s was the duration of 'BINDER STATS' ------

------ BINDER STATE (/sys/kernel/debug/binder/state) ------
--- 0.020s was the duration of 'BINDER STATE' ------

========================================================
== Board
========================================================
------ INTERRUPTS (/proc/interrupts) ------
------ 0.001s was the duration of 'INTERRUPTS' ------

------ RPM Stats (/d/rpm_stats) ------
------ 0.000s was the duration of 'RPM Stats' ------

------ Power Management Stats (/d/rpm_master_stats) ------
------ 0.000s was the duration of 'Power Management Stats' ------

------ SUBSYSTEM TOMBSTONES (/system/xbin/su root ls -l /data/tombstones/ramdump) ------
------ 0.022s was the duration of 'SUBSYSTEM TOMBSTONES' ------

*** /d/ipc_logging/bam_dmux/log: No such file or directory
------ 0.000s was the duration of 'BAM DMUX Log' ------

------ SMD Log (/d/ipc_logging/smd/log) ------
------ 0.000s was the duration of 'SMD PKT Log' ------

------ IPC Router Log (/d/ipc_logging/ipc_router/log) ------
------ 0.000s was the duration of 'IPC Router Log' ------

------ ION HEAPS (/system/xbin/su root /system/bin/sh -c for d in $(ls -d /d/ion/*); do for f in $(ls $d); do echo --- $d/$f; cat $d/$f; done; done) ------
------ 0.069s was the duration of 'ION HEAPS' ------

------ dmabuf info (/d/dma_buf/bufinfo) ------
------ 0.001s was the duration of 'dmabuf info' ------

------ Battery Type (/sys/class/power_supply/bms/battery_type) ------
------ 0.000s was the duration of 'Battery Type' ------

------ Temperatures (/system/xbin/su root /system/bin/sh -c for f in emmc_therm msm_therm pa_therm0 xo_therm ; do echo -n "$f : " ; cat /sys/class/hwmon/hwmon2/device/$f ; done ; for f in `ls /sys/class/thermal` ; do type=`cat /sys/class/thermal/$f/type` ; temp=`cat /sys/class/thermal/$f/temp` ; echo "$type: $temp" ; done) ------
------ 0.125s was the duration of 'Temperatures' ------

*** /sys/fs/pstore/dmesg-ramoops-0: No such file or directory
------ 0.000s was the duration of 'dmesg-ramoops-0' ------

*** /sys/fs/pstore/dmesg-ramoops-1: No such file or directory
------ 0.000s was the duration of 'dmesg-ramoops-1' ------

------ LITTLE cluster time-in-state (/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state) ------

------ 0.000s was the duration of 'LITTLE cluster time-in-state' ------
------ LITTLE cluster cpuidle (/system/xbin/su root /system/bin/sh -c for d in $(ls -d /sys/devices/system/cpu/cpu0/
------ 0.064s was the duration of 'LITTLE cluster cpuidle' ------

------ big cluster time-in-state (/sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state) ------
------ 0.000s was the duration of 'big cluster time-in-state' ------

------ big cluster cpuidle (/system/xbin/su root /system/bin/sh -c for d in $(ls -d /sys/devices/system/cpu/cpu4/cpuidle/
------ 0.060s was the duration of 'big cluster cpuidle' ------

------ DUMP VENDOR RIL LOGS (/system/xbin/su root vril-dump) ------
------ 0.012s was the duration of 'DUMP VENDOR RIL LOGS' ------

========================================================
== Android Framework Services
========================================================
------ DUMPSYS (dumpsys -t 60 --skip meminfo cpuinfo) ------
DUMP OF SERVICE DockObserver:
DUMP OF SERVICE SurfaceFlinger:
DUMP OF SERVICE accessibility:
DUMP OF SERVICE account:
DUMP OF SERVICE activity:
DUMP OF SERVICE alarm:
DUMP OF SERVICE android.security.keystore:
DUMP OF SERVICE appops:
DUMP OF SERVICE appwidget:
DUMP OF SERVICE assetatlas:
DUMP OF SERVICE audio:
DUMP OF SERVICE backup:
DUMP OF SERVICE battery:
DUMP OF SERVICE batteryproperties:
DUMP OF SERVICE batterystats:
DUMP OF SERVICE bluetooth_manager:
DUMP OF SERVICE carrier_config:
DUMP OF SERVICE clipboard:
DUMP OF SERVICE commontime_management:
DUMP OF SERVICE connectivity:
DUMP OF SERVICE connectivity_metrics_logger
DUMP OF SERVICE consumer_ir:
DUMP OF SERVICE content:
DUMP OF SERVICE contexthub_service:
DUMP OF SERVICE country_detector:
DUMP OF SERVICE dbinfo:
DUMP OF SERVICE device_policy:
DUMP OF SERVICE deviceidle:
DUMP OF SERVICE devicestoragemonitor:
DUMP OF SERVICE diskstats:
DUMP OF SERVICE display:
DUMP OF SERVICE display.qservice:
DUMP OF SERVICE dns_listener:
DUMP OF SERVICE dreams:
DUMP OF SERVICE drm.drmManager:
DUMP OF SERVICE dropbox:
DUMP OF SERVICE ethernet:
DUMP OF SERVICE fingerprint:
DUMP OF SERVICE gfxinfo:
DUMP OF SERVICE gpu:
DUMP OF SERVICE graphicsstats:
DUMP OF SERVICE hardware_properties:
DUMP OF SERVICE imms:
DUMP OF SERVICE input:
DUMP OF SERVICE input_method:
DUMP OF SERVICE iphonesubinfo:
DUMP OF SERVICE isms:
DUMP OF SERVICE isub:
DUMP OF SERVICE jobscheduler:
DUMP OF SERVICE launcherapps:
DUMP OF SERVICE location:
DUMP OF SERVICE lock_settings:
DUMP OF SERVICE media.audio_flinger:
DUMP OF SERVICE media.audio_policy:
DUMP OF SERVICE media.camera:
DUMP OF SERVICE media.camera.proxy:
DUMP OF SERVICE media.codec:
DUMP OF SERVICE media.drm:
DUMP OF SERVICE media.extractor:
DUMP OF SERVICE media.player:
DUMP OF SERVICE media.radio:
DUMP OF SERVICE media.resource_manager:
DUMP OF SERVICE media.sound_trigger_hw:
DUMP OF SERVICE media_projection:
DUMP OF SERVICE media_router:
DUMP OF SERVICE media_session:
DUMP OF SERVICE midi:
DUMP OF SERVICE mount:
DUMP OF SERVICE netd:
DUMP OF SERVICE netpolicy:
DUMP OF SERVICE netstats:
DUMP OF SERVICE network_management:
DUMP OF SERVICE network_score:
DUMP OF SERVICE network_time_update_service
DUMP OF SERVICE nfc:
DUMP OF SERVICE notification:
DUMP OF SERVICE otadexopt:
DUMP OF SERVICE package:
DUMP OF SERVICE permission:
DUMP OF SERVICE persistent_data_block:
DUMP OF SERVICE phone:
DUMP OF SERVICE pinner:
DUMP OF SERVICE power:
DUMP OF SERVICE print:
DUMP OF SERVICE processinfo:
DUMP OF SERVICE procstats:
DUMP OF SERVICE recovery:
DUMP OF SERVICE restrictions:
DUMP OF SERVICE rttmanager:
DUMP OF SERVICE samplingprofiler:
DUMP OF SERVICE scheduling_policy:
DUMP OF SERVICE search:
DUMP OF SERVICE sensorservice:
DUMP OF SERVICE serial:
DUMP OF SERVICE servicediscovery:
DUMP OF SERVICE shortcut:
DUMP OF SERVICE simphonebook:
DUMP OF SERVICE sip:
DUMP OF SERVICE soundtrigger:
DUMP OF SERVICE statusbar:
DUMP OF SERVICE telecom:
DUMP OF SERVICE telephony.registry:
DUMP OF SERVICE textservices:
DUMP OF SERVICE trust:
DUMP OF SERVICE uimode:
DUMP OF SERVICE updatelock:
DUMP OF SERVICE usagestats:
DUMP OF SERVICE usb:
DUMP OF SERVICE user:
DUMP OF SERVICE vibrator:
DUMP OF SERVICE voiceinteraction:
DUMP OF SERVICE vrmanager:
DUMP OF SERVICE wallpaper:
DUMP OF SERVICE webviewupdate:
DUMP OF SERVICE wifi:
DUMP OF SERVICE wifip2p:
DUMP OF SERVICE wifiscanner:
DUMP OF SERVICE window:

WINDOW MANAGER LAST ANR         (dumpsys window lastanr)
WINDOW MANAGER POLICY STATE     (dumpsys window policy)
WINDOW MANAGER ANIMATOR STATE   (dumpsys window animator)
WINDOW MANAGER SESSIONS         (dumpsys window sessions)
WINDOW MANAGER DISPLAY CONTENTS (dumpsys window displays)
WINDOW MANAGER TOKENS           (dumpsys window tokens)
WINDOW MANAGER WINDOWS          (dumpsys window windows)

------ 5.113s was the duration of 'DUMPSYS' ------
========================================================
== Checkins
========================================================
------ CHECKIN BATTERYSTATS (dumpsys -t 30 batterystats -c) ------
------ 2.093s was the duration of 'CHECKIN BATTERYSTATS' ------

------ CHECKIN MEMINFO (dumpsys -t 30 meminfo --checkin) ------
------ 2.683s was the duration of 'CHECKIN MEMINFO' ------

------ CHECKIN NETSTATS (dumpsys -t 30 netstats --checkin) ------
------ 0.022s was the duration of 'CHECKIN NETSTATS' ------

------ CHECKIN PROCSTATS (dumpsys -t 30 procstats -c) ------
------ 0.140s was the duration of 'CHECKIN PROCSTATS' ------

------ CHECKIN USAGESTATS (dumpsys -t 30 usagestats -c) ------
------ 0.040s was the duration of 'CHECKIN USAGESTATS' ------

------ CHECKIN PACKAGE (dumpsys -t 30 package --checkin) ------
------ 0.026s was the duration of 'CHECKIN PACKAGE' ------

========================================================
== Running Application Activities
========================================================
------ APP ACTIVITIES (dumpsys -t 30 activity all) ------
------ 0.031s was the duration of 'APP ACTIVITIES' ------

========================================================
== Running Application Services
========================================================
------ APP SERVICES (dumpsys -t 30 activity service all) ------
------ 0.769s was the duration of 'APP SERVICES' ------

========================================================
== Running Application Providers
========================================================