SYS_ANDROID_EVENT_LOG1. aee_exp資料夾中有 db.fatal.00.SWT.
2. 準備工作: gat開啟db.fatal.00.SWT.dbg檔案,即會生成.DEC檔案
2. ZZ_INTERNAL 檔案內容
SWT,1039,-1361051648,99,/data/core/,0,system_server_watchdog,system_server,Sat Jan 21 02:00:05 GST 2017,1,1818135
確定是watchdog引起的重啟。 時間點02:00(!!!重要)
3. 分析 .DEC檔案
(1) _exp_main.txt 檔案
Exception Class: SWT
Exception Type: system_server_watchdog
Current Executing Process:
system_server
Backtrace:
Process: system_server
Subject: Blocked in monitor com.android.server.wm.WindowManagerService on foreground thread (android.fg), Blocked in handler on display thread (android.display)
[!!!重要 android.fg]
(2)SYS_ANDROID_EVENT_LOG 檔案
search watchdog /android.fg
01-21 02:00:02.058 1039 1693 I watchdog: Blocked in monitor com.android.server.wm.WindowManagerService on foreground thread (android.fg), Blocked in handler on display thread (android.display)
得到執行緒1039
(2) SWT_JBT_TRACES 檔案
seacrh “d 1039” + 剛剛得到的time。就能找到關鍵log