Systrace output not showing graphics/surfaceflinger events

旧街凉风 提交于 2020-01-06 03:53:08

问题


I am able to run systrace but i am not able to see the traces for SurfaceFlinger. GPU, bufferQueues, etc.

I gave the following command: systrace.py --time=10 -o mynewtrace.html sched gfx view wm hal video workq

Its only giving output for CPU0, workqueues, irqs, kworker etc.

Any particular tracers we have to enable while compiling kernel? Am I missing anything else?

Thank You!


回答1:


Got the solution. The trace_marker file was not set to writeable for user space processes. After setting it using chmod 222 /sys/kernel/debug/tracing/trace_marker and doing adb shell stop adb shell start It started working.



来源:https://stackoverflow.com/questions/32348456/systrace-output-not-showing-graphics-surfaceflinger-events

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!