tree: 339304ffb38a29e66564da857ae8cd06691c8327 [search]
  1. winscope/
  2. Android.bp
  3. frameworks_native_interned_data.proto
  4. frameworks_native_trace_packet.proto
  5. frameworks_native_tracing_protos.json
  6. frameworks_native_track_event.proto
  7. OWNERS
  8. README.md
tracing/README.md

frameworks/native tracing protos

Native-owned out-of-tree perfetto schemas: the TrackEvent extension and the winscope schemas for SurfaceFlinger, input, and protolog (plus the shared leaves in winscope/common/).

The schemas are split across repositories because each schema resides in the repository that owns its writing process (e.g. SurfaceFlinger and input schemas in frameworks/native; WindowManager and ViewCapture schemas in frameworks/base). Common leaf schemas (such as rect, corner_radii, and typedef) reside in frameworks/native because both repositories import them.

See frameworks/base/proto/tracing/README.md for the full documentation: the wire contract, which generated library to consume for each use case, the invariants, and how to add or mirror a schema.