You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, timeline can be better converted to systrace of Android platform(see flutter/flutter#47771). This PR is in order to support the trace function converted to the instruments of iOS platform.
something needs to be explained:
I redefine the macro OS_LOG_CALL_WITH_FORMAT_NAME to remove the constraint that the name must be argument must be a string constant in OS_LOG_STRING, otherwise it will run out of error as below:
error: static_assert failed due to requirement '__builtin_constant_p(str1)' "format/label/description argument must be a string constant"
run application with --systrace, we can see that the timeline events are all converted to the instruments IDE:
The text was updated successfully, but these errors were encountered:
using Instruments to track these events.
Signed-off-by: yuanhuihui <gityuan@gmail.com>
Bug: #40076
Change-Id: I590081c516923f82a2a3dbf4b109afe75b8f5fc5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/131360
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
As of now, timeline can be better converted to systrace of Android platform(see flutter/flutter#47771). This PR is in order to support the trace function converted to the instruments of iOS platform.
something needs to be explained:
I redefine the macro OS_LOG_CALL_WITH_FORMAT_NAME to remove the constraint that the name must be argument must be a string constant in OS_LOG_STRING, otherwise it will run out of error as below:
run application with --systrace, we can see that the timeline events are all converted to the instruments IDE:
The text was updated successfully, but these errors were encountered: