tree: e0176849af9d2bc7e3336209400ffc44d6c54fcc [path history] [tgz]
  1. Android.bp
  2. LayerTraceGenerator.cpp
  3. LayerTraceGenerator.h
  4. main.cpp
  5. readme.md
  6. run.sh
services/surfaceflinger/Tracing/tools/readme.md

LayerTraceGenerator

Generates layer traces from transaction traces. The tool is a custom surface flinger build that mocks out everything else apart from the front end logic. Transaction traces are written when the transaction is applied, along wth a timestamp and vsync id. The transactions are parsed from proto and applied to recreate the layer state. The result is then written as a layer trace.

Usage:

  1. build and push to device
  2. run ./layertracegenerator [transaction-trace-path] [output-layers-trace-path]