-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listdependency: dartDart team may need to help usDart team may need to help usplatform-iosiOS applications specificallyiOS applications specifically
Description
description
iOS has support for os_signposts which gives allows you to identify certain regions of activity inside of Instruments. Dart appears to have support for emitting os_signpost events, but there is no way I can determine to enable it for Flutter projects.
It is my understanding that --trace-systrace is supposed to turn them on, but they don't.
Ideally there should be a way to make sure they are enabled when launching from Instruments as well. Typically this is done on iOS by caching the last arguments for launching the app from the command line.
steps to reproduce
flutter run --profile --trace-systrace- attach Instruments to the running process
- tap around the app to make it update
Notice that no "Points of interest" are generated.
doctor
[✓] Flutter (Channel unknown, 3.1.0-0.0.pre.1072, on macOS 12.4 21F79
darwin-x64, locale en-US)
• Flutter version 3.1.0-0.0.pre.1072 at /Users/aaclarke/dev/flutter
• Upstream repository unknown
• Framework revision ff110fb958 (48 minutes ago), 2022-06-02 13:11:28 -0700
• Engine revision 00a64bf4f2
• Dart version 2.18.0 (build 2.18.0-163.0.dev)
• DevTools version 2.13.1
fixes
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listdependency: dartDart team may need to help usDart team may need to help usplatform-iosiOS applications specificallyiOS applications specifically