ZHCAE45 June 2024 AM625 , AM67A , AM68A , AM69A , DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4AEN-Q1 , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4APE-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VP-Q1 , TDA4VPE-Q1
如節(jié) 2.6中所述,HWR 日志包含 GPU 驅(qū)動程序和固件的日志。要從 GPU 收集日志,可使用名為 pvrlogdump 的實用程序。pvrlogdump 是隨 GPU 驅(qū)動程序安裝附帶提供的。默認(rèn)情況下,該實用程序會將日志保存在 /tmp 目錄中,并輸出文件的名稱以方便提取文件。除了 pvrlogdump 生成文件外,它對于共享應(yīng)用執(zhí)行的控制臺也很有用,因為這顯示了 HWR 發(fā)生的時間。以下是 pvrlogdump 命令輸出的示例:
root@j721s2-evm:~# pvrlogdump
Checking driver state ............... initialised
Checking for debugfs ................ found
Checking for lockdep ................ not found
Checking for ftrace ................. not found
Checking for firmware log groups .... not found
There are no AppHints enabled in /etc/powervr.ini or in debugfs for any of the firmware log groups. Unless 'pvrdebug' tool was used for that purpose there will be no information in firmware log. Please consider enabling some of the firmware log groups before the problem occurs.
Dumping data ........................
[ 163.767302] PVR_K: 1005: User requested PVR debug info
[ 163.772711] PVR_K: 1005: ------------[ PVR DBG: START (High) ]------------
…
[ 164.363015] PVR_K: 1005: ------------[ PVR DBG: END ]------------
done
Archiving data ...................... done
File /tmp/pvrlogdump_2402262237.txt.gz was created.