When trying to improve the performance of a library using FFI, it could be useful to get timeline events for all FFI calls. These can be synchronous timeline events.
For ObjC callbacks, we could even go as far as generating async events for the async callbacks and sync events for the sync callbacks.