-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Description
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:
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
