flutter / flutter/flutter

Add native Android tracing from the engine.

Open
#147,737 0 comments 0 reactions 0 assignees View on GitHub
c: new feature P3 team-engine triaged-engine
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

Today, tracing from the engine relies on proxying traces to Dart VMs tracing infrastructure. This works well in the general case but is missing features like always-on trace flows directed towards ATrace on Android. This would have come in really handy when tracing transaction completions on Android.

We should add a trace API that writes the trace directly (without copies) to the `/sys/kernel/debug/tracing/trace_marker` file for always-on traces on Android. These can be used sparingly in the Android subsystem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.