Skip to content

support more sync event when change timeline reccord to systrace #39727

@yuanhuihui

Description

@yuanhuihui

When I need to view the platform event and flutter event at the same time, I will change timeline record to systrace. But sync event is not included in the systrace.

for example , in Flutter framework , lib/src/widgets/framework.dart

void buildScope(Element context, [ VoidCallback callback ]) {
    Timeline.startSync('Build', arguments: timelineWhitelistArguments);
    ...
    Timeline.finishSync();
}
  1. build event don't included in the systrace
    1-2-timeline-origin-systrace

  2. with this CL, we can see it
    2-1-timeline-opt2

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.pkg-vm-service

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions