-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Pass run and drive --trace-systrace for iOS #105321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Closing, @gaaclarke is taking this over. |
|
Now that I've debugged the issue I think this is good. All the other problems are in different repos and/or can be addressed separately. Thanks @jmagman. |
|
(Oh, I'm going to remove the "fixes" annotation too.) |
gaaclarke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the documentation:
--- a/packages/flutter_tools/lib/src/commands/run.dart
+++ b/packages/flutter_tools/lib/src/commands/run.dart
@@ -112,7 +112,8 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
..addFlag('trace-systrace',
negatable: false,
help: 'Enable tracing to the system tracer. This is only useful on '
- 'platforms where such a tracer is available (Android and Fuchsia).',
+ 'platforms where such a tracer is available (Android, iOS, '
+ 'macOS and Fuchsia).',
)
..addFlag('trace-skia',
negatable: false,
gaaclarke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just went ahead and changed it for you (\me pats himself on the back)
|
Yea, I think that may only work on files that already have edits on them though. Maybe if you jump into the full github editor you can start commenting on files that haven't changed? |
oh right right right |
| help: 'Enable tracing to the system tracer. This is only useful on ' | ||
| 'platforms where such a tracer is available (Android and Fuchsia).', | ||
| 'platforms where such a tracer is available (Android, iOS, ' | ||
| 'macOS and Fuchsia).', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it set up in the engine for macOS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dart supports it, I didn't verify that the engine is piping it down to dart correctly though. I'm not too familiar with the macos flow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So should this have been changed to document that it works on macOS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, macOS is a platform "where such a tracer is available".


issue #105253
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.