从零开始在OpenHarmony上适配图形显示【7】——使用hidumper命令进行调试
同理hidumper -s RenderService可以查看帮助信息。
·
DisplayManagerService服务
使用帮助
# hidumper -s DisplayManagerService
-------------------------------[ability]-------------------------------
----------------------------------DisplayManagerService----------------------------------
Usage:
-h |help text for the tool
-s -a |dump all screen information in the system
-d -a |dump all display information in the system
-s {screen id} |dump specified screen information
-d {display id} |dump specified display information
# 查看所有的display信息
# hidumper -s DisplayManagerService -a '-d -a'
# 查看所有的屏幕信息
# hidumper -s DisplayManagerService -a '-s -a'
5.1.0 dayu200 双屏异显(5.1.0双屏异显无bug)




RenderService服务
同理hidumper -s RenderService可以查看帮助信息
# hidumper -s RenderService
-------------------------------[ability]-------------------------------
----------------------------------RenderService----------------------------------
------ Graphic2D--RenderSerice ------
Usage:
dumpNode |dump render node info
dumpExistPidMem |dumpExistPidMem [pid], dump exist pid mem info
allInfo |dump all info
clearFpsCount |clear the refresh rate counts info
gles |inquire gpu info
flushJankStatsRs |flush rs jank stats hisysevent
fpsCount |dump the refresh rate counts info
hitchs |[windowname] hitchs, dump the hitchs info of window
surfacenode |surfacenode [id]
dumpMem |dump Cache
nodeNotOnTree |dump nodeNotOnTree info
surface |dump all surface information
trimMem |dump trim Mem info
RSTree |dump RS Tree info
fps |[windowname] fps, dump the fps info of window
fpsClear |[surface name]/composer fpsClear, clear the fps info
EventParamList |dump EventParamList info
MultiRSTrees |dump multi RS Trees info
allSurfacesMem |dump surface mem info
client |dump client ui node trees
screen |dump all screen infomation in the system
rsLogFlag |set rs log flag
h |help text for the tool
以5.1.0 为例
# 查看screen屏幕信息
hidumper -s RenderService -a screen

参考资料
https://gitcode.com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-dfx-hidumper.md
https://laval.csdn.net/6583db9128cf1d21b51fbb6d.html
更多推荐
所有评论(0)