frameworks/native/services/surfaceflinger/Tracing/tools/readme.md

14 lines
526 B
Markdown
Raw Normal View History

2025-08-25 08:17:13 +08:00
### 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]