Search code examples
androidsystrace

where's the SurfaceFlinger process in systrace resulting html file?


according to the documentation, there should be a SurfaceFlinger process in the graph so I can use it to find the cause of missing frames. I used to see it, but now a bunch of package names become ..., see below.

enter image description hereenter image description here

So how could I address my performance issues using this file?


Solution

  • Enable "CPU Scheduler". Without "sched" it may not get the process / thread names. (Note this may require root on the device.)

    Some of the rows (e.g. VSYNC) are coming from SurfaceFlinger, so the data is there, just not labeled.